Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a man has rs . 10350 in the form of rs . 50 notes and rs . 500 notes . the total number of notes are 108 . find the number of notes of rs . 50 denomination .
