print"Hello, World!\n0" k=1 while 1:print k%10or raw_input();k+=k<10