Each sensor can communicate directly with sensors within Euclidean distance d. Given n sensor coordinates, find a largest set in which every pair can communicate directly.
The first line has n and d (1≤n≤100, 1≤d≤10000). The next n lines give coordinates x, y for sensors 1 through n.
Print the maximum set size on the first line. Print the sensor indices on the second line. Any optimal set is accepted.