Task: Program Execution
Input (English): 6017, L, 2977, 3405, 9259
Output (English): 1