307271: CF1331C. ...And after happily lived ever they

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

...And after happily lived ever they

题意翻译

输入一个数 $a$,输出另一个数 $b$,操作详见题解。 [$\color{cadetblue}\text{Translate By }\color{red}Aw\ \text{顿顿}$](https://www.luogu.com.cn/user/212283)

题目描述

输入输出格式

输入格式


The input contains a single integer $ a $ ( $ 0 \le a \le 63 $ ).

输出格式


Output a single number.

输入输出样例

输入样例 #1

2

输出样例 #1

2

输入样例 #2

5

输出样例 #2

24

输入样例 #3

35

输出样例 #3

50

Input

题意翻译

输入一个数 $a$,输出另一个数 $b$,操作详见题解。 [$\color{cadetblue}\text{Translate By }\color{red}Aw\ \text{顿顿}$](https://www.luogu.com.cn/user/212283)

加入题单

算法标签: