Numbers Joke

题意翻译

愚人节题目,自己想吧。

题目描述

输入输出格式

输入格式


The input contains a single integer $ a $ ( $ 1<=a<=30 $ ).

输出格式


Output a single integer.

输入输出样例

输入样例 #1

3

输出样例 #1

27