You approach the lamp, and you realise that the cap is the sorting hat from Harry Potter!
(If you think this is a weird story, just wait till you see the rest of this game...)
The sorting hat starts talking:
"Hello! More students, I see? Put me on and I'll tell you which Hogwarts House you belong to."
You are very tempted by this offer due to your nature of being a 2nd year GiS student.
But you maintain composure. You ask the sorting hat whether it has a puzzle for you.
"Hmm puzzle? Puzzle... Why yes, yes, I do have a puzzle for you.
Actually, if I'm honest, I have been struggling to sort students as of late.
Can you help me out? I have a backlog of about 1000 students.
Load in `students_to_sort.rds`.
I need to sort them into the different houses...
Children who are brave belong to Gryffindor.
Children who are kind-spirited belong to Hufflepuff.
Children who are studious belong to Ravenclaw.
And children who are cunning belong to Slytherin.
Sort the children. Then, find which house has the most children.
The hidden word is the house (lower-case) + the number of children.
For example, if most children are Slytherin and there are 200, then the hidden word is 'slytherin200'.
Now go, hurry, while I continue my precious nap".
The sorting hat stops responding to you, even when you put it on.
Where do you want to go?