Task: Program Execution
Input (English): F, r, j, J
Output (English): -1