Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: 13 buckets of water fill a tank when the capacity of each bucket is 51 litres . how many buckets will be needed to fill the same tank , if the capacity of each bucket is 17 litres ?
Output:
39