fun main(args: Array) { val (trick, treat) = readLine()!!.split(" ").map { it.toInt() } val num = (trick or treat) var ans = 1L for(i in (1..num)) { ans*=i } println(ans) }