how to link the integer I am writing with the hockey house
Can you explain this?

Where in your code are you writing "the integer"? What does the value of the integer represent? Number of players? Cost of the playoff? Postal district?

How does "the hockey house" relate to what you are writing?

When I read your code I do NOT SEE ANY COMMENTS describing what the program is supposed to do.