name = 'georg fritz theodores ferdinand markus hannibal von und zu trapp'
proper_name = ' '.join(word.title() if len(word) > 3 else word.lower() for
    word in name.split())
print((name, ':', proper_name))
Uncapitalizing first letter of a name