# a simple Minsky Machine program to multiply a number with itself
# written by Keymaker

1 inc A 2
2 inc A 3
3 inc A 4
4 dec A 8 5
5 inc B 6
6 inc B 7
7 inc B 4

8 dec B 11 9
9 inc C 10
10 inc D 8

11 dec C 14 12
12 inc A 13
13 inc B 11

14 dec A 16 15
15 inc C 14

16 dec B 18 17
17 inc E 16

18 dec D 19 8

19 dec C 21 20
20 dec E 21 19

21 halt