Birches
National Forest state Q recently got a beautiful birch alley, which consists of trees. Each tree has a height of .
International Classification of national parks is a list of the most beautiful nature reserves in the world. Used to rank parks such a thing as distinctiveness which is understood as the number of pairs , for which the observed ratio of , where is a special number, which is selected by the Expert Council of the international organization of national parks.
What distinctiveness has national park state Q?
Input
The first line has two positive integers and — the number of trees in the national park and a special number of the advisory council, respectively.
The second line has numbers — the height of the trees in the park.
Output
In the single line print Q national park distinctiveness.