A net and four figures are shown:
A net is shown on top. The net consists of 6 identical squares. There are 4 squares in a row, and the first square has one square above it and one below it. There are four solid figures below the net. The figure labeled 1 is a square pyramid, the figure labeled 2 is a cube, the figure labeled 3 is a rectangular prism, and the figure labeled 4 is a pyramid with a pentagonal base.
Which figure can be formed from the net? (Input the number only.)