#! /usr/bin/python
f=open('fifo1')
inc = 0
while inc < 10:
	ret = f.readline()
	print(ret)
	inc = inc +1

f.close()
