S = gets.chomp if S =~ /^[-A-Za-z0-9_]{1,32}$/ and S !~ /^[-_]|[-_]$/ puts 200 else puts 400 end