def oddeven(n:Int)={ if(n%2==0) "偶数" else "奇数" } println(oddeven(readInt("整数:")))