<gh_stars>0
while True:
    tab = int(input('Quer ver a tabuada de qual valor? '))
    print('-' * 50)
    if tab < 0:
        break
    for t in range(1, 11):
        print(f'{tab} X {t} = {tab * t}')
    print('-' * 50)
print('PROGRAMA TABUADA ENCERRADO. Volte sempre!')

while True:
    tab = int(input('Quer ver a tabuada de qual valor? '))
    print('-' * 50)
    if tab < 0:
        break
    for t in range(1, 11):
        print(f'{tab} X {t} = {tab * t}')
    print('-' * 50)
print('PROGRAMA TABUADA ENCERRADO. Volte sempre!')