Online Judge
Toggle navigation
未来源少儿编程
首页
问题列表
状态
排行榜
小组
比赛
帮助
注册
登录
首页
问题列表
2022212 - 商店结算
2022212 - 商店结算
n = int(input()) if n <= 8:
print(n * 0.8)
else:
print( 8 * 0.8 + (n - 8) * 0.7 )