def check_end_of_line(lines):
    if (lines[(- 1)][(- 1)] != '\n'):
        return lines[(- 1)][(- 1)]
    else:
        return ''
def check_end_of_line(lines):
    if (lines[(- 1)][(- 1)] != '\n'):
        return lines[(- 1)][(- 1)]
    else:
        return 