Hamilton wins back-to-back division three flags