func main() var a: int :: cui@inputInt() var b: int :: cui@inputInt() var min: int :: lib@min(a, b) var ans: int :: 2 * (a + b) - (2 * min + 1) if(a = b) do ans :+ 1 end if do cui@print("\{ans}\n") end func