Is there a simple way to check if user\'s input is numeric? Using regexes and exceptions seems too complicated here.
fun main { val scan = Scanner(System.