Skip to content

Commit b00a658

Browse files
authored
[20260308] BOJ / G5 / 돌 게임 6 / 이준희
1 parent bebcdb1 commit b00a658

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)