how to create a program
hello, I was given the task to create a program, but I do not know how, only an explanation is given Only one thing was missing for Mr. Walters to be completely happy: the opportunity to present the award Bible and boast of a miracle of learning. Some schoolchildren had yellow tickets, but no one had as many as they needed - he had already interviewed all the first students. And at the very moment when all hope left him, Tom Sawyer stepped forward with nine yellow tickets, nine red and ten blue, and demanded a Bible. Mark Twain. Adventures of Tom Sawyer To receive one award, you need to present 1010 yellow tickets. 1010 red tickets can be exchanged for one yellow one. 1010 blue tickets can be exchanged for one red one. Tom now has yy yellow tickets, rr red and bb blue. How many awards can Tom get? Input data format: Three lines of the input file contain three natural numbers: yy, rr and bb. All numbers do not exceed 2Ă10^9.