fun canUse(num:Long):Boolean { var cur = 2.toLong() while (cur * cur < num) { if(num % cur == 0.toLong()) { return true } cur++ } return false }