20250704 baekjoon

This commit is contained in:
songyc macbook 2025-07-04 16:38:53 +09:00
parent b1b39f141f
commit 8f8e0ca19a

View File

@ -0,0 +1,7 @@
from collections import deque
q = deque(range(1,int(input())+1))
while len(q)!=1:
q.popleft()
q.rotate(-1)
print(*q)