import java.util.Scanner;

class TicketLottery {

    public static void main (String[] args) {
        Scanner sc = new Scanner(System.in);

        System.out.println(getProbabilities(sc.nextLine()));
    }

    public static String getProbabilities(String input) {
        return "";
    }
}

@@ -70,17 +70,16 @@
 oid main
- 
 (String%5B
@@ -84,24 +84,24 @@
 g%5B%5D args) %7B%0A
+
         Scan
@@ -264,25 +264,704 @@
 ) %7B%0A
-        return %22%22
+%0A        int%5B%5D numbers = splitNumbers(input);%0A%0A        if (!enoughTickets(numbers))%0A            return %220%22;%0A%0A        return %22%22;%0A    %7D%0A%0A    private static int%5B%5D splitNumbers(String input) %7B%0A        String%5B%5D parts = input.split(%22 %22);%0A%0A        return new int%5B%5D %7B%0A            Integer.parseInt(parts%5B0%5D),%0A            Integer.parseInt(parts%5B1%5D),%0A            Integer.parseInt(parts%5B2%5D),%0A            Integer.parseInt(parts%5B3%5D)%0A        %7D;%0A    %7D%0A%0A    // test if it%E2%80%99s possible to win enough tickets%0A    // for the whole group%0A    private static boolean enoughTickets(int%5B%5D numbers) %7B%0A        // number of winners * number of tickets per winner %3E= %7Cgroup%7C%0A        return (numbers%5B1%5D*numbers%5B2%5D %3E= numbers%5B3%5D)
 ;%0A  

return '0' if not enough tickets for the group