AlgoBazaAlgoBaza
Back to tasks

A dog's age

Beginner

Python for kids 路 Lesson 31: Module 2 summary: Decisions

Problem Statement

The first 2 years of a dog's life are 10 "human" years each, and every year after that - 4 years. Read a dog's age and print how many "human" years that is.

Input Format

One whole number - the dog's age in years (0..25).

Output Format

One number - the result.

Examples
Example 1

Input

1

Output

10
Example 2

Input

5

Output

32