5363번 - 요다
a=int(input())for i in range(a): temp=input().split() t1=temp.pop(0) t2=temp.pop(0) print(' '.join(temp),t1,t2)
댓글을 작성하려면 로그인해야 합니다.
yunsol 1년 전
a=int(input())
for i in range(a):
temp=input().split()
t1=temp.pop(0)
t2=temp.pop(0)
print(' '.join(temp),t1,t2)