<doocs>2029.Stone Game IX_1.py
def check(c):
    if c[1] == 0:
        return False
    c[1] -= 1
    turn = 1 + min(c[1], c[2]) * 2 + c[0]
    if c[1] > c[2]:
        turn += 1
        c[1] -= 1
    return turn % 2 == 1 and c[1] != c[2]
def sample_funcname ( var_0 ) :
    if var_0 [ 1 ] == 0 :
        return False
    var_0 [ 1 ] -= 1
    var_6 = 1 + min ( var_0 [ 1 ] , var_0 [ 2 ] ) * 2 + var_0 [ 0 ]
    if var_0 [ 1 ] > var_0 [ 2 ] :
        var_6 += 1
        var_0 [ 1 ] -= 1
    return var_6 % 2 == 1 and var_0 [ 1 ] != var_0 [ 2 ]
