def f(cond1, cond2):
    if cond1:
        return 1
    if cond2:
        return 2
    while 1:
        return 3
    while 1:
        if cond1:
            return 4
        return 5
    return 6
def f(cond1, cond2):
    if cond1:
        return 1
    if cond2:
        return 2
    while 1:
        return 3
    while 1:
        if cond1:
            return 4
        return 5
    return 6