Task
Time limit: 1000 ms,
Memory limit: 256 Mb

Given a two-digit number \(n\) and number \(a\). Define:
a) whether the sum of its digits is a two-digit number (print YES or NO in the first line);
b)i s the sum of the digits of the entered number greater than the number \(a\)(print YES or NO in the second line)

Input: 
the number \(n\ (10<=n<=99)\) is entered in the first line, in second line - digit \(a\) (\(0 < a <= 100\))
Output: 
output answers to questions of the problem
Prohibited statements:and;not

Auto CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:

Rules for designing programs and a list of errors during automatic task verification
           

Results: