puts("Input your id")
input_id = gets.chomp()
def login(_id)
members = ['egoing', 'k8805', 'leezche']
for member in members do
if member == _id
return true
end
end
return false
end
if login(input_id)
puts('Hello, '+input_id)
else
puts('Who are you?')
end
cHV0cygiSW5wdXQgeW91ciBpZCIpCmlucHV0X2lkID0gZ2V0cy5jaG9tcCgpCgpkZWYgbG9naW4oX2lkKQogIG1lbWJlcnMgPSBbJ2Vnb2luZycsICdrODgwNScsICdsZWV6Y2hlJ10KICBmb3IgbWVtYmVyIGluIG1lbWJlcnMgZG8KICAgICAgaWYgbWVtYmVyID09IF9pZAogICAgICAgICAgcmV0dXJuIHRydWUKICAgICAgZW5kCiAgZW5kCiAgcmV0dXJuIGZhbHNlCmVuZAoKaWYgbG9naW4oaW5wdXRfaWQpCiAgcHV0cygnSGVsbG8sICcraW5wdXRfaWQpCmVsc2UKICBwdXRzKCdXaG8gYXJlIHlvdT8nKQplbmQK