Heavestack
Solution