LearnPy Hub
← Arena
EasyRating 900

Viral Advert

On day 1 an advert reaches 5 people. Each day, half of the people reached (rounded down) like it, and each of them shares it with 3 new people the next day. Print the total likes after n days.

Input

One integer n (1 ≤ n ≤ 50).

Output

One integer.

Sample 1

Input
3
Output
9

Sample 2

Input
1
Output
2
solution.py
Output appears here
Viral Advert · Python Arena problem · LearnPy Hub