There is an unspecified single extra line containing whitespace at the end of input in problem 18139 (SMPCPH1 - Substitution cipher).