Task: Program Execution
Input (English): 27, j, y, x, d, 151
Output (English): 1, 2, 5, 7