Problem1332--2018DLOI小甲 第一题 山峰数(0.5)

1332: 2018DLOI小甲 第一题 山峰数(0.5)

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

给出一个五位数的正整数,不妨假设这个整数的万位数字是a,千位数字是b,百位数字是c,十位数字是d,个位数字是e。如果满足: a < b < c 且 c > d > e,那么这个五位数就是山峰数。


Input

一个五位数

Output

如果输入的五位数是山峰数则输出“yes”,否则输出“no”,其中双引号不用输出。


Sample Input Copy

15764

Sample Output Copy

yes

Source/Category