Task: Program Execution
Input (English): r, 297, a, 79, 393, 279, k
Output (English): 2, 3, 7, 9