def p_input(p):
    """input : maybe_nline statement
             | input statement """
    if p[1] is None:
        p[0] = p[2]
    else:
        so_far = p[1][1]
        new_statements = p[2][1]
        p[0] = ['STATEMENTS', p[1][1] + p[2][1]]
