Task: Program Execution
Input (English): m t 443 k 6027 O B I 2963 3109 G 619 H 8087 5273 5101 4031 s p 2069 2437 5451 3277 t 2011 3177 8287 H P a W 5751 G Y S 8707
Output (English): 1, 2, 4, 6, 7, 8, 11, 13, 18, 19, 24, 28, 29, 30, 31, 33, 34, 35