puts /^1|1[13579]|97|99$/.match(gets)?:B: :A