#!/usr/bin/env ruby

i = 0
while line = STDIN.gets
  puts "#{i}\t#{line}"
  i += 1  
end