The task is to generate the correct answer for a given math problem.

Problem: how many integers k greater than 100 and less than 700 are there such that if the hundreds and the unit digits of k are reversed , the resulting integer is k + 99 ?
50

Problem: a certain kind of necklace is made from 9 green , 6 white , and 3 orange beads . what is the maximum number of these necklaces that can be made from 45 beads of each color ?
5

Problem: a man spends 2 / 5 of his salary on house rent , 3 / 10 of his salary on food and 1 / 8 of his salary on conveyance . if he has rs . 1400 left with him , find his expenditure on food and conveyance .

1000