Which comes earlier, HTH or HHT? Generic solver.
randomexperiment.com