Skip to content

Commit

Permalink
ABC_083 A
Browse files Browse the repository at this point in the history
  • Loading branch information
IrukNuj committed Dec 13, 2018
1 parent d906696 commit 9a96f3d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ABC_083/A.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
a, b, c, d = gets.split.map(&:to_i)
if a + b == c + d
puts 'Balanced'
elsif a + b > c + d
puts 'Left'
else
puts 'Right'
end

0 comments on commit 9a96f3d

Please sign in to comment.