package net.ipipip0129.kotlin.yukicoder fun main(args: Array) { val data = readLine()!!.split(" ") val pos = Pos(data[0].toDouble(), data[1].toDouble()) val dis = Math.sqrt(Math.pow(pos.x, 2.0) + Math.pow(pos.y, 2.0)) println((dis * 2).toLong() + 1) } private class Pos(val x: Double, val y: Double)