#T760. 行李托运

行李托运

Description

The luggage托运 fee standard at a certain station is as follows: for luggage weighing 10 kilograms or less, the fee is 2.5 yuan. For luggage exceeding 10 kilograms, an additional 1.5 yuan is charged for every extra kilogram.

Write a program that takes the weight of the luggage as input and calculates the托运 fee (rounded to one decimal place).

Input Format

One line: A real number representing the weight of the luggage.

Output Format

One line: A real number representing the托运 fee (rounded to one decimal place).

10
2.5

翻译结果

CodesOnline

(注:由于"CodesOnline"是一个专有名词或品牌名称,通常保持原样不翻译。如果上下文需要解释,可以补充说明其含义,例如:"CodesOnline"可理解为“在线代码”或“代码在线平台”。但在单纯名称翻译时,建议保留原名以确保品牌一致性。)