游客 Signup | Login
中文 | En

1823 - 课后习题5.5

通过次数

0

提交次数

0

Time Limit : 1 秒 Memory Limit : 128 MB

有一个函数

y={ x      x<1
    | 2x-1   1<=x<10
    \ 3x-11  x>=10

写一段程序,输入x,输出y

Input

一个数x

Output

一个数y

Examples

Input Format

14

Output Format

31

Hint

使用函数