n = int(input())
dp = [0] * (n+5)
dp[1:5] = [0, 1, 0, 1]
for i in range(5, n+1):
    if dp[i-1] and dp[i-3] and dp[i-4]:
        dp[i] = 0
    else:
        dp[i] = 1
if dp[n] == 1:
    print('SK')
else:
    print('CY')