Calling a function
Problem
Write a program that uses an existing function to calculate the arithmetic mean of two numbers and prints out the word " ;YES" if the arithmetic mean of two numbers is greater than 5, or the word "NO" - otherwise.
Input: The input of the program is two natural numbers (both numbers are no more than 150). Both numbers are on different lines.
Output: print "YES" or "NO".
Example.
Input |
Output |
100
101
| YES |
5
3 |
NO |