Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: 5 men are equal to as many women as are equal to 8 boys . all of them earn rs . 45 only . men â € ™ s wages are ?
