Putnam. A tough mathematical competition for the best of the best pursuing their undergraduate degree…