As usual, knight meets a dragon, and dragon says:
I will think of three “digits” a,b,c and you tell me three “numbers” x,y,z. Then I will compute and return the number ax+by+cz. Using this number, you have guess my digits a,b,c. If you fail, I will eat you.
Now the question is: in the place of the knight, what numbers would you say?
For example, if you say x = 12, y = 53, z = 7. Then the dragon would return you:
12a + 53b + 7c, now you have to figure out a,b,c. Sometimes there can be several possible options, but you have a single try :)
This is a tricky questions, but when you find out the answer, it turns out to be a silly question.
So, the best option would be x = 100, y = 10, z = 1. Because since the dragon has digits, he would return:
For example, if the dragon had a = 1, b = 5 , c = 4. The the result would be:
Then you can easily call the digits of the returned number, 1, 5, 4. That simple:)

