OJ现已增加邮箱找回密码功能,还没有绑定邮箱的同学们请抓紧时间,以免密码丢失无法找回


问题 C: 外语(英)

问题 C: 外语(英)

时间限制: 1 Sec  内存限制: 128 MB
提交: 211  解决: 148
[提交] [状态] [讨论版] [命题人:]

题目描述

You are given 4 sticks of lengths a, b, c, and d. You can not break or bend them.

Determine whether it is possible to form a square using the given sticks.



输入

The only line four integers abc, and d (1≤a,b,c,d≤10) — the lengths of the sticks.

输出

 print "YES" if it is possible to form a square using the given sticks, and "NO" otherwise.

样例输入 Copy

1 1 1 1

样例输出 Copy

YES