Task: Program Execution
Input (English): F, K, 1645, 2949, 6397, v, 8313, 4741, 1849, 4541, 7357, 799
Output (English): 1, 2, 6