Years 31 - 40 (Human Resource Machine)

This is a list of solutions for **years 31 - 40** in *Human Resource Machine*.

## Year 31

```
-- HUMAN RESOURCE MACHINE PROGRAM --

    BUMPUP   14
    INBOX
    JUMPZ    c
    COPYTO   [14]
    JUMP     b
    BUMPDN   14
    JUMPZ    a
    COPYFROM [14]
    OUTBOX
    JUMP     d

```

## Year 32

```
-- HUMAN RESOURCE MACHINE PROGRAM --

    BUMPUP   14
    BUMPUP   14
    JUMP     d
a:
    ADD      14
    ADD      14
    ADD      14
    OUTBOX
d:
    INBOX
    SUB      4
    JUMPN    a
    JUMPZ    c
    COPYFROM 4
    SUB      3
    JUMP     b

```

## Year 34

```
-- HUMAN RESOURCE MACHINE PROGRAM --

    JUMP     b
a:
    COPYFROM 6
    OUTBOX
b:
    COPYFROM 5
c:
    COPYTO   7
    INBOX
    COPYTO   6
d:
    COPYFROM [7]
    JUMPZ    a
    SUB      6
    JUMPZ    c
    BUMPUP   7
    JUMP     d

```

## Year 35

```
-- HUMAN RESOURCE MACHINE PROGRAM --

    INBOX
    JUMP     b
a:
    BUMPUP   14
    COPYFROM 12
b:
    COPYTO   [14]
    OUTBOX
c:
    COPYFROM 14
    COPYTO   13
    INBOX
    COPYTO   12
d:
    SUB      [13]
    JUMPZ    c
    BUMPDN   13
    JUMPN    a
    COPYFROM 12
    JUMP     d

```

## Year 36

```
-- HUMAN RESOURCE MACHINE PROGRAM --

a:
    INBOX
    COPYTO   [23]
    JUMPZ    b
    BUMPUP   23
    JUMP     a
b:
    COPYTO   23
    JUMP     d
c:
    COPYFROM 21
    OUTBOX
    BUMPUP   23
    COPYFROM [23]
    JUMPZ    k
d:
    INBOX
    JUMPZ    j
    COPYTO   21
    SUB      [23]
    JUMPZ    c
    JUMPN    f
e:
    COPYFROM [23]
    JUMPZ    i
    OUTBOX
    BUMPUP   23
    JUMP     e
f:
    COPYFROM 21
g:
    OUTBOX
    INBOX
    JUMPZ    h
    JUMP     g
```

## Year 37

```
-- HUMAN RESOURCE MACHINE PROGRAM --

a:
    INBOX
b:
    COPYTO   12
    COPYFROM [12]
    OUTBOX
    BUMPUP   12
    COPYFROM [12]
    JUMPN    a
    JUMP     b

```

## Year 38

```
-- HUMAN RESOURCE MACHINE PROGRAM --

    COPYFROM 11
    ADD      11
    COPYTO   8
    COPYFROM 10
    ADD      10
    COPYTO   7
    JUMP     e
    COPYFROM 2
    JUMPZ    c
    OUTBOX
c:
    COPYFROM 1
    OUTBOX
d:
    COPYFROM 0
    OUTBOX
e:
    INBOX
    COPYTO   0
    SUB      10
    JUMPN    d
    COPYFROM 9
    COPYTO   1
    COPYTO   2
f:
    COPYFROM 0
    SUB      8
    JUMPN    g
    COPYTO   0
    BUMPUP   2
    BUMPUP   2
    JUMP     f
g:
    COPYFROM 0
    SUB      11
    JUMPN    h
    COPYTO   0
    BUMPUP   2
    COPYFROM 0
    SUB      7
    JUMPN    j
    COPYTO   0
    BUMPUP   1
    BUMPUP   1
    JUMP     i
j:
    COPYFROM 0
    SUB      10
    JUMPN    b
    COPYTO   0
    BUMPUP   1
    JUMP     a

```

## Year 39

```
-- HUMAN RESOURCE MACHINE PROGRAM --

    JUMP     b
a:
    ADD      15
    OUTBOX
    COPYFROM 11
    OUTBOX
b:
    COPYFROM 14
    COPYTO   11
    INBOX
c:
    SUB      15
    JUMPN    a
    COPYTO   10
    BUMPUP   11
    COPYFROM 10
    JUMP     c

```

## Year 40

```
-- HUMAN RESOURCE MACHINE PROGRAM --

a:
    BUMPUP   24
    COPYTO   22
    INBOX
    JUMP     c
b:
    COPYFROM 22
    OUTBOX
    BUMPDN   22
    COPYFROM 24
    JUMPZ    a
    SUB      1
c:
    SUB      22
    COPYTO   24
d:
    BUMPUP   22
    BUMPDN   24
    COPYTO   1
e:
    COPYTO   2
    BUMPDN   1
    COPYFROM 2
    JUMPZ    b
    SUB      22
    JUMPN    d
    JUMP     e

```

## See also

* Original guide by Pukeface and Brachragon