class PartyU {
    public static void main(String[] arg) {
        CupU.setRatio(Float.parseFloat(arg[0]));
        CupU[] cups = new CupU[Integer.parseInt(arg[1])];
        int n = Integer.parseInt(arg[2]);
        for (int i = 0; i < n; i++) {
            cups[i] = new MugU();
        }
        for (int i = n; i < cups.length; i++) {
            cups[i] = new PaperCupU();
        }
        PartyU0.drink(cups);
        PartyU0.fill(cups);
        PartyU0.drink(cups);
    }
}
