← Back to List

21185번: Some Sum ↗

Solutions

Ruby
110 B | 110 chars
n = gets.to_i
if n % 2 == 1
    print 'Either'
elsif (n/2) % 2 == 1
    print 'Odd'
else
    print 'Even'
end