https://www.acmicpc.net/problem/2163
import java.util.* fun main(args: Array<String>) { val s=Scanner(System.`in`) var n=s.nextInt() var m=s.nextInt() print(n*m-1) }