t = ''
def g(a):
    if len(a) > 2:
        t = a
        print t + " if"
    else:
        t = ''
        print t + " else"
g('test')