A man is competing in a triathlon.