tax = {'Single': [9075,36900,89350,186350,405100,406750,500000], 'Married joint filer': [18150,73800,148850,226850,405100,457600,500000], 'Head of household': [12950,49400,127550,206600,405100,432200,500000], 'Surviving spouse': [18150,73800,148850,226850,405100,457600,500000], 'Married filing separately': [9075,36900,74425,113425,202550,228800,500000]} l = [10,15,25,28,33,35,39.6] name = raw_input('') number = int(raw_input()) for i in range(len(tax[name])): if number