<@U0E2MNCPN>: isn't it what you need: ``` fun Buff...
# announcements
c
@dmcg: isn't it what you need:
Copy code
fun BufferedReader.readStars(n: Int): Set<Star> = (1..n).mapTo(HashSet<Star>(n)) { val (a, b) = readLine().split(" ").map { it.toInt() }; Star(a, b) }