본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 5363번 요다

by 현장 2022. 8. 7.

-Code

for _ in range(int(input())):
    s = list(input().split())
    print(*s[2:] + s[:2])