def u(n):
    v = 7
    for k in range(1,n+1):
        v = v * 0.3
    return v
