Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: for a race a distance of 224 meters can be covered by p in 28 seconds and q in 56 seconds . by what distance does p defeat q eventually ?
