Skip to content

Commit cbd2c1f

Browse files
authored
Merge pull request #2003 from AlgorithmWithGod/JHLEE325
[20260308] BOJ / G5 / 돌 게임 6 / 이준희
2 parents 04d7bc1 + b00a658 commit cbd2c1f

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
```java
2+
import java.io.*;
3+
import java.util.*;
4+
5+
public class Main {
6+
public static void main(String[] args) throws Exception {
7+
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
8+
StringTokenizer st;
9+
10+
long N = Long.parseLong(br.readLine());
11+
12+
if (N % 7 == 0 || N % 7 == 2) {
13+
System.out.println("CY");
14+
} else {
15+
System.out.println("SK");
16+
}
17+
}
18+
}
19+
```

0 commit comments

Comments
 (0)