fun main(args: Array) { val (n, k) = readLine()!!.split(" ").map(String::toInt) val v = IntArray(n+1, {0}) for (i in 2..n) { if (v[i] > 0) continue for (j in i..n step i){ v[j]++ } } println(v.count {it >= k}) }