f = File.open("input.txt", "r") a = f.readlines for j in 0...a.length puts(a[j]) end f.close