# Check user input

# Get a string from the user
choice = raw_input('Choose R or D: ')

while ((choice != 'D') and (choice != 'R')):
    print 'Not a major party.'
    choice = raw_input('R or D: ')

print 'Thank you.'


    

