Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun main() = (10..1178 step 2).filter {
- it % 10 != 0 && it % 10 != 2 && it % 10 != 6 && it % 10 != 8 && it % 100 != 14
- }.run { print("${sum()} ${first()}") }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement