Task: Program Execution
Input (English): 15, c, q, d
Output (English): 1, 5