Task: Program Execution
Input (English): 3649, c, G, Q, q
Output (English): 3649, 3, 7, 17, 17