while c=$<.getc 'A'.upto("%c"%c){|c|print c} puts end