Task: Program Execution
Input (English): 6501, B, 7601, 7841, 4389, N, 8987, 7475, F, 7695, 6859, h, 5591, 889
Output (English): B, N, F, h