Hans algorithm

A+ A A-