International Radiotelephony Spelling Alphabet II by dc

import java.util.*;class G{public static void main(String[]args){String s=new Scanner(System.in).nextLine();char c,d=0;for(int i=0;;i++){c=s.charAt(i);if(c>64&c<91|(c<58|c==d)&d==32)System.out.print(c);d=d==32?0:c;}}}\x0d

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page