# coding: utf-8
import os

y = '1'
while y == '1':
        os.system('clear')
	print('\n 税込価格計算   \n')
	print('------------------------')
	price = int(input('価格 '))
	x = input('食料品: 1  その他: 2 \n')
	if x == "1":
		ans = round(price*1.08)   #四捨五入 偶数丸め
		print('\n税込価格:', ans, '円\n')
	elif x == "2":
		ans = round(price*1.1)
		print('\n税込価格:', ans, '円\n')
	else:
		print('\n入力ミス\n')
	y = input('\n\t 計算を  1: 続ける other:やめる\n')
print('ありがとうございました.')