import random
def cards():
    a=0
    #b=0
    #c=0
    #d=0
    e=0
    #f=0
    #g=0
    #h=0
    i=0
   #h1=a + b + c
    #h2=d + e + f
    #h3=g + h + i
    #v1 = a + d + g
    #v2 = b + e + h
    #v3 = c + f + i
    d1 = a + e + i
    #d2 = c + e + g
    while d1 != 15:
            a = random.randint(1,9)
            e= random.randint(1,9)
            x=15-a+e
            i= random.choice[1,x]
    print(a, e, i)
    

