Task: Program Execution
Input (English): 8945 u 893 U c W V 4781 1605 J 7229 5939 C E 9181 9267 V 2613 4611 C 3221 8223 n p 7913 A v 9233 B 1497 1243 3781
Output (English): 2, 4, 5, 6, 7, 10, 13, 14, 17, 20, 23, 24, 26, 27, 29