Task: Program Execution
Input (English): 5977, 6113, 3567, H, 6029, P, 481, 4337, 6403, 5591, v, 539
Output (English): 1, 2, 3, 5, 7, 8, 9, 10, 12