AlgoBazaAlgoBaza
Back to tasks

Tickets for a trip

Beginner

Python for kids 路 Lesson 30: Contest tasks with conditions

Problem Statement

A single ticket costs 10 zloty, and a pack of 10 tickets - 80 zloty. Read the number of people and print the lowest cost of buying at least that many tickets.

Input Format

One whole number - the number of people (1..1000).

Output Format

One number - the result.

Examples
Example 1

Input

13

Output

110
Example 2

Input

19

Output

160