b = input("b: ") a = input("a: ") b = int(b) a = int(a) x = 11 while x < 112: print(x*b+a) x = x + 6