@@ -0,0 +1,743 @@
+import java.util.Scanner;%0A%0Apublic class Main %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        Scanner sc = new Scanner(System.in);%0A%0A        while (sc.hasNextInt()) %7B%0A%0A            int n = sc.nextInt();%0A            int numberOfCombination = 0;%0A%0A            for (int a = 0; a %3C= 9; a++) %7B%0A                for (int b = 0; b %3C= 9; b++) %7B%0A                    for (int c = 0; c %3C= 9; c++) %7B%0A                        for (int d = 0; d %3C= 9; d++) %7B%0A%0A                            if (a + b + c + d == n) %7B%0A                                numberOfCombination++;%0A                            %7D%0A%0A                        %7D%0A                    %7D%0A                %7D%0A            %7D%0A%0A            System.out.println(numberOfCombination);%0A%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Create 0008