active=bool(True)
while active==True:
    print("Please enter a positive integer!\nEnter 'quit' to end the program.")
    a=input()
    if a == 'quit':
        active=False
    else:
        if int(a)%8==0:
            print(f'{a} is a multiple of 8.')
        else:
            print(f'{a} is not a multiple of 8.')