#B2157. Monthly SMS Cost Calculation

    ID: 11239 Type: Default 1000ms 256MiB

Monthly SMS Cost Calculation

Monthly SMS Cost Calculation

You are given the total number of characters sent in a month via SMS. Each SMS message costs $0.1 and can contain at most 70 characters. If the number of characters exceeds 70, the message is split into multiple SMS messages such that each SMS contains up to 70 characters. Using the formula cost = \(0.1 \times \lceil \frac{n}{70} \rceil\), where \(n\) is the total number of characters sent, calculate the total cost for the month.

inputFormat

The input consists of a single integer \(n\) (\(0 \leq n \leq 10^9\)) which represents the total number of characters sent in the month.

outputFormat

Output the total cost of sending the SMS messages, formatted with one decimal place.

sample

0
0.0