.


:




:

































 

 

 

 


Sample Output Sample Output

 

. , .

 

Input

10..99.

 

Output

:

 

( ) + ( ) = ().

 

+ = .

 

Sample Input

 

Sample Output

82 + 28 = 110

 

 

. , , .

 

Input

, 10000 100 .

 

Output

.

 

Sample Input

 

Sample Output

13 34

 

 


, , , , , 1.

, , .

if .

()

: .

7 30  
7 28  

 

109 . . ?

. , , .

0 108 , .

v () v ().

,

60 2  
-1 1  

 


 

3-

 

3 . , .

 

Input

3 , 10000.

 

Output

:

First number is maximal

Second number is maximal

Third number is maximal

 

Sample Input

1234 4321 -432

 

Sample Output

Second number is maximal

 

 

, n × m k , ( ).

 

:

3 : n, m k; k n × m. , 30000.

 

:

YES NO ( ), k .

 

:

Sample Input Sample Input

3 3

2 2

4 1

 

Sample Output Sample Output

YES NO


 

a . b . c . d . ?

 

:

4 : a, b, c d. (a, c <= 20; b, d <= 100)

 

:

2 : e f, , . 100.

 

:

 

Sample Input Sample Input

2 2
1 1
3 4
2 0

Sample Output Sample Output

1 1 1 99

 



<== | ==>
.01. . 1. | ,
:


: 2015-10-27; !; : 1287 |


:

:

, - , ; , - .
==> ...

1245 - | 1275 -


© 2015-2024 lektsii.org - -

: 0.019 .