Task: Program Execution
Input (English): n, 4365, 6267, x, 2831, 6539, W, L, c, 4321, 2431, d, p, 771, k, f, i, D, T, 9365
Output (English): 2, 3, 5, 6, 10, 11, 14, 20