Task: Program Execution
Input (English): b g r A H 2175 9229 R 9297 5803 9867 v F C A o B 737 3333 3951 X v Q J W 2607 o 9333 6731 4727 U 7415 K C 8289 c x 515 X z
Output (English): 1, 2, 3, 4, 5, 8, 12, 13, 14, 15, 16, 17, 21, 22, 23, 24, 25, 27, 31, 33, 34, 36, 37, 39, 40