Task: Program Execution
Input (English): n, V, T, 2501, E, 6395, K, y, 363, K, 4783, 595, j, 4577, 8149
Output (English): 4, 6, 9, 11, 12, 14, 15