Task: Program Execution
Input (English): e, D, n, 2187, 6435, 3171, 5999
Output (English): 1, 2, 3