Task: Program Execution
Input (English): 3739, 3447, Q, Y, z, J, 8711, 8771, 1201, 7201, j, 4735
Output (English): 1, 2, 7, 8, 9, 10, 12