#Z16110. 练28.3 短信计费
练28.3 短信计费
Description
When sending text messages on a mobile phone, each message costs $0.1 yuan, but the content of each message is limited to 70 characters (inclusive). If a message exceeds 70 characters, it will be split into multiple messages according to the 70-character limit. Given the number of characters in each message sent by someone in a month, calculate the total cost of their text messages.
Input Format
The first line contains an integer (), representing the total number of messages sent in the month. This is followed by lines, each containing an integer (not exceeding 1000) representing the number of characters in each message.
Output Format
Output a single line containing the total cost of text messages for the month, in yuan, with one decimal place.
Sample
10
39
49
42
61
44
147
42
72
35
461.3