Task: Program Execution
Input (English): 8667, 4129, 7075, 6345, 1315, M, F, 9073
Output (English): 36604