Task: Program Execution
Input (English): P, F, 9221, 4813, q, Q, F
Output (English): 16, 6, 9221, 4813, 17, 17, 6