TouchStone
  Please Login
Login Sign Up
 Homepage  Problem Set  Examinations  Submissions  Discussions  Statistics
  • Home
  • Problem Set
  • P5209
  • Problem
  • P5209果果爱Haiku
    Limits : Time Limit : - MS   Memory Limit : - KB
    Judgment Tips : 1s 256MB
    Description

    果果喜欢Haiku, Haiku是一种短篇的诗歌体。 一篇规范的Haiku按顺利包含长度为$5,7,5$的三句诗句。 为了写出一篇Haiku, 果果首先写出了三句长度为$A, B, C$的诗句,果果想让你编程计算是否能用这几句诗句构成一篇Haiku

    Input Format

    输入包括三个正整数$A, B, C(1 <= A, B, C <= 10)$

    Output Format

    如果可以构成Haiku输出"YES", 否则输出"NO"

    Sample Input 1

    5 5 7

    Sample Output 1

    YES

    Sample Input 2

    7 7 5

    Sample Output 2

    NO