Write a program that reads two integers a and b, and outputs the maximum value from them. Integers from 1 to 1000.
When solving a problem, you can use only integer arithmetic operations +, -, *, //, %, =. Do not use non-linear structures: branches, loops, functions, methods.
>>> a,b=94,54
>>> (a*(a//b) + b*(b//a))/(b//a+a//b)
94
>>> a,b=6,322
>>> (a*(a//b) + b*(b//a))/(b//a+a//b)
322
Find more questions by tags Python