Task: Program Execution
Input (English): N g K l J 2479 7171 6725 3735 3871 N 1943 6291 s 3197 4153 8107 k h Q 4487 2001 a 6761 9915 9747 A 2683 K 6817 5627 b d 7851 1271 5117 z
Output (English): 1, 2, 3, 4, 5, 11, 14, 18, 19, 20, 23, 27, 29, 32, 33, 37