You will be given a definition of a task first, then some input of the task.
The task is to generate the correct answer for a given math problem.

Problem: how many integerskgreater than 100 and less than 700 are there such that if the hundreds and the units digits ofkare reversed , the resulting integer is k + 99 ?
Output:
50