def u(n):
    v, k = 7, 0
    while k < n:
        v = v * 0.3
        k = k + 1
    return v
