Which pyramid has the same number of faces as a rectangular prism?

1. triangular pyramid
2. rectangular pyramid
3. pentagonal pyramid
4. hexagonal pyramid