https://www.acmicpc.net/problem/20336
with open(0)as f:
a=f.read().split()
open(1,"w").write("\n".join(a[1:2+int(a[1])]))
https://www.acmicpc.net/problem/20336
with open(0)as f:
a=f.read().split()
open(1,"w").write("\n".join(a[1:2+int(a[1])]))