Task: Program Execution
Input (English): 10, 18, ['3637', '4543', '4955', '169', 'c', 'd', '4523', '471', 'g', 'D', '1147', 'U', '4709', '4839', '8517', 'H', '3631', 'p']
Output (English): p, 3631, H, 8517, 4839, 4709, U, 1147, D