@@ -0,0 +1,849 @@
+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 (true) %7B%0A%0A            int bigBonus = sc.nextInt();%0A            int regularBonus = sc.nextInt();%0A            int greap = sc.nextInt();%0A            int cherry = sc.nextInt();%0A            int star = sc.nextInt();%0A            int totalGame = sc.nextInt();%0A%0A            if (bigBonus == 0 && regularBonus == 0 && greap == 0 && cherry == 0 && star == 0 && totalGame ==0) %7B%0A                break;%0A            %7D%0A%0A            int medal = 100 + bigBonus * 15 + regularBonus * 15 + (bigBonus * 5 + regularBonus * 3) * 15 + greap * 7 + cherry * 2 - (bigBonus * 5 + regularBonus * 3) * 2 - (totalGame - bigBonus * 5 - regularBonus * 3 - star) * 3;%0A%0A            System.out.println(medal);%0A%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Create : 0229