@@ -0,0 +1,596 @@
+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        int oneYenCoin = sc.nextInt();%0A        int fiveYenCoin = sc.nextInt() * 5;%0A        int tenYenCoin = sc.nextInt() * 10;%0A        int fiftyYenCoin = sc.nextInt() * 50;%0A        int oneHundredYenCoin = sc.nextInt() * 100;%0A        int fiveHundredYenCoin = sc.nextInt() * 500;%0A%0A        int total = oneYenCoin + fiveYenCoin + tenYenCoin + fiftyYenCoin + oneHundredYenCoin + fiveHundredYenCoin;%0A%0A        System.out.println(1000 %3C= total ? 1 : 0);%0A%0A    %7D%0A%0A%7D%0A

Create : 0296