Task: Program Execution
Input (English): T, 6637, 3887, 8877, 4939, n, 9797, a
Output (English): 1, 6, 8