Ruby, 23 bytes ->a,b{a==2&&b==2?5:a+b} Try it online!
posted 3y ago by snail_
# [Ruby], 23 bytes ```ruby ->a,b{a==2&&b==2?5:a+b} ``` [Try it online!][TIO-ksuwrfsi] [Ruby]: https://www.ruby-lang.org/ [TIO-ksuwrfsi]: https://tio.run/##KypNqvyfZvtf1y5RJ6k60dbWSE0tCUjam1olaifV/i8oLSlWSNPTcAxyD4s2iNUryY/P1AFzDCEczf//Df8bAQA "Ruby – Try It Online"