import math
PHI = 1.6180339887
FIBS = [1, 1, 2, 3, 5, 8, 13, 21]
PRIMES = [2, 3, 5, 7, 11, 13, 17, 19]
def hdgl_slot(n, r=1.0, omega=1.0):
    return math.sqrt(PHI * FIBS[n-1] * (2**n) * PRIMES[n-1] * omega) * r
def generate_glyph(chg_balance):
    slots = [hdgl_slot(i+1, r=chg_balance/1000) for i in range(8)]
    return hashlib.sha256(str(slots).encode()).hexdigest()

print(generate_glyph(1000))