Main page Tasks Volumes Ranking Help

Back to task list

Minimum of Three

Several triplets of numbers are given to you. Your task is to select minimum among each of triplets. Write selected minimums as an answer, separating them with space.

Example:

data:
7 3 5
15 20 40
300 550 137

answer:
3 15 137

Though, of course, you can select minimums manually, you are supposed to do this with a kind of program, using several if ... else ... constructions.

You need to login to get test data and submit solution.