Task: Program Execution
Input (English): Y, e, f, 1529, n, 5195, 9441, 8285
Output (English): 1, 2, 3, 5