Task: Program Execution
Input (English): 5531, 4673, 1849, 6295, 9789, 8869, 3595, 1641, 8225, r, p, 9517, k, m
Output (English): k, m, p, r