writing hanoi