Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: john has 10 pairs of matched socks . if he loses 13 individual socks , what is the greatest number of pairs of matched socks he can have left ?
