Task: Program Execution
Input (English): G 9947 g 1291 J 3955 8791 q 7759 A z I f 2665 X 345 3745 D S j u H B j C N 4931 Z D
Output (English): 2, 4, 6, 7, 9, 14, 16, 17, 27