def gork(collection):
    p = 0
    k = 0
    J = [None]*len(collection)
    v=0
    for name in collection:
        p += ord(name)
    while ((((p*1)+k) % 3)*p + (((p*2)+k) % 3)*p + (((p*4)+k) % 3)*p  + (((p*8)+k) % 3)*p) != k:
        k += 1
    kp = k
    for name in collection:
        J[v] = (kp) / ord(name) 
        v += 1
        kp -= ord(name) 
    return J

print(gork('Hello world!'))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: