a guest Apr 24th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- a, b = gets.chomp.split(" ").map(&:to_i)
- puts [2 * a - 1, 2 * b - 1, a + b].max
RAW Paste Data