def inc_thrice(x):
    x = x + 1
    x += 1
    print(x + 1)

a = 5
b = inc_thrice(a)
c = inc_thrice(b)

print(a, b, c)