Super fast Go solutions for 5 and 6.