Task: Program Execution
Input (English): 7977, k, L, z, B, Z, 5035
Output (English): 1, 7