with open('xrdfile.txt', 'r', encoding='utf-8') as data:
ls1 = []
while True:
tentative = data.readline()
if tentative:
line_to_ls = list(map(float, tentative.strip().split(' ')))
# print(line_to_ls)
ls2 = [int(element) for element in line_to_ls]
ls1.append(ls2)
# print(ls1)
else:
break
n = int(input())
print(ls1[:n])
01-21
7055
05-17
2万+