Task: Program Execution
Input (English): 3163, 8463, 8205, 7805, 1729, W, 517, n, P, 5305, 3199, U, U, S, 5089, 1671, b
Output (English): 1, 2, 3, 4, 5, 7, 10, 11, 15, 16