Task: Program Execution
Input (English): 6821 6991 s O c 871 q O H B q z Z M p 1575 3089 5945 3859 P R 2143 J T 5367 K r 2289 b 347 X a E N 8857 Z 7495 a 5457 T
Output (English): 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 21, 23, 24, 26, 27, 29, 31, 32, 33, 34, 36, 38, 40