Task: Program Execution
Input (English): 1511, 2687, F, 1025, G, p
Output (English): 3, 5, 6