The task is to generate the correct answer for a given math problem.

[Q]: Problem: a cycle is bought for rs . 900 and sold for rs . 1170 , find the gain percent ?
[A]: 30 %


[Q]: Problem: of the diplomats who attended a summit conference : 20 spoke japanese , 32 did not speak russian and 20 % of the diplomats spoke neither japanese nor russian . if 10 % of the diplomats spoke both japanese and russian , then how many diplomats attended the conference ?
[A]: 120


[Q]: Problem: how many 4 - digit numbers are completely divisible by 7 ?
[A]:
1286