Task: Program Execution
Input (English): 8367, f, p
Output (English): 1