a=LETTERS for(v in strsplit(readLines("stdin"),"")[[1]])write("if"(v>" ",a[a<=v],""),T,99,,"")