run-time error (nzec) in word verse

im getting nzec error in the following code in this question http://www.codechef.com/problems/CG05/
word verse … pls help

  itr = int(raw_input())
    for i in xrange(1 , (1+itr)):
    inp = (raw_input()).strip().split()
    inp.reverse()
    inp = ' '.join(inp)
    print "Case #%d: %s"%(i ,inp)

thanx… :slight_smile:

//