# 仕様追加
## paramsが :aho の時は、3の倍数か3がつくときのみを表示する
def show_numbers(params)
list = %w(18 22 11 73 91 38 24 17)
list.each do |element|
case params
when :aho
if element.include?('3') || element.to_i.modulo(3) == 0
puts element
end
when :even
if element.to_i.even?
puts element
end
when :odd
if element.to_i.odd?
puts element
end
else
puts element
end
end
end
#### :aho ####
show_numbers(:aho)
IyDku5Xmp5jov73liqAKIyMgcGFyYW1z44GMIDphaG8g44Gu5pmC44Gv44CBM+OBruWAjeaVsOOBizPjgYzjgaTjgY/jgajjgY3jga7jgb/jgpLooajnpLrjgZnjgosKZGVmIHNob3dfbnVtYmVycyhwYXJhbXMpCiAgbGlzdCA9ICV3KDE4IDIyIDExIDczIDkxIDM4IDI0IDE3KQogIGxpc3QuZWFjaCBkbyB8ZWxlbWVudHwKICAgIGNhc2UgcGFyYW1zCiAgICAgIHdoZW4gOmFobwogICAgICAgIGlmIGVsZW1lbnQuaW5jbHVkZT8oJzMnKSB8fCBlbGVtZW50LnRvX2kubW9kdWxvKDMpID09IDAKICAgICAgICAgIHB1dHMgZWxlbWVudAogICAgICAgIGVuZAogICAgICB3aGVuIDpldmVuCiAgICAgICAgaWYgZWxlbWVudC50b19pLmV2ZW4/CiAgICAgICAgICBwdXRzIGVsZW1lbnQKICAgICAgICBlbmQKICAgICAgd2hlbiA6b2RkCiAgICAgICAgaWYgZWxlbWVudC50b19pLm9kZD8KICAgICAgICAgIHB1dHMgZWxlbWVudAogICAgICAgIGVuZAogICAgICBlbHNlCiAgICAgICAgcHV0cyBlbGVtZW50CiAgICBlbmQKICBlbmQKZW5kCgojIyMjIDphaG8gIyMjIwpzaG93X251bWJlcnMoOmFobyk=