179, naive solution