Task: Program Execution
Input (English): 5767, 6479, 5407, q, e, 2019, h, p
Output (English): 1, 2, 3, 6