Task: Program Execution
Input (English): F, W, m
Output (English): 1, 2, 3