Task: Program Execution
Input (English): F, T, 8575, 9169
Output (English): 1, 2