@@ -0,0 +1,1021 @@
+package boj_4504;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.InputStreamReader;%0A%0A/**%0A * %EB%B0%B1%EC%A4%80 %EC%98%A8%EB%9D%BC%EC%9D%B8 %EC%A0%80%EC%A7%80 4504%EB%B2%88 (%EB%B0%B0%EC%88%98 %EC%B0%BE%EA%B8%B0) %EB%AC%B8%EC%A0%9C%ED%92%80%EC%9D%B4%0A *%0A * @see https://www.acmicpc.net/problem/4504%0A * @author devetude%0A */%0Apublic class Main %7B%0A%09private static final String IS_SENTENCE = %22 is a multiple of %22;%0A%09private static final String IS_NOT_SENTENCE = %22 is NOT a multiple of %22;%0A%09private static final String DOT_AND_NEW_LINE = %22.%5Cn%22;%0A%0A%09public static void main(String args%5B%5D) throws Exception %7B%0A%09%09// %EB%B2%84%ED%8D%BC%EB%A5%BC %ED%86%B5%ED%95%B4 %EC%9E%85%EB%A0%A5 %EA%B0%92%EC%9D%84 %EB%B0%9B%EC%9D%8C%0A%09%09BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A%09%09int n = Integer.parseInt(br.readLine());%0A%09%09StringBuilder sb = new StringBuilder();%0A%0A%09%09while (true) %7B%0A%09%09%09int num = Integer.parseInt(br.readLine());%0A%0A%09%09%09// %EC%9E%85%EB%A0%A5 %EA%B0%92%EC%9D%B4 0%EC%9D%BC %EA%B2%BD%EC%9A%B0 %EB%A3%A8%ED%94%84%EB%A5%BC %EC%A2%85%EB%A3%8C%0A%09%09%09if (num == 0) %7B%0A%09%09%09%09break;%0A%09%09%09%7D%0A%0A%09%09%09// %EB%B2%84%ED%8D%BC%EB%A5%BC %EC%9D%B4%EC%9A%A9%ED%95%B4 %EA%B2%B0%EA%B3%BC %EA%B0%92%EC%9D%84 %EB%A7%8C%EB%93%AC%0A%09%09%09sb.append(num);%0A%09%09%09if (num %25 n == 0)%0A%09%09%09%09sb.append(IS_SENTENCE);%0A%09%09%09else%0A%09%09%09%09sb.append(IS_NOT_SENTENCE);%0A%09%09%09sb.append(n).append(DOT_AND_NEW_LINE);%0A%09%09%7D%0A%0A%09%09br.close();%0A%0A%09%09// %EA%B2%B0%EA%B3%BC %EA%B0%92 %EC%B6%9C%EB%A0%A5%0A%09%09System.out.println(sb.toString());%0A%09%7D%0A%7D

add problem 4504