This is the 329th most frequent Russian word.
первом
"Первом" is the prepositional case of "первый," meaning "first" (used in certain contexts like "in the first" or "on the first").
In this sentence, "первом" is part of the phrase "на первом месте," meaning "in the first place," indicating the top priority.
На первом месте для меня всегда будет семья.
Family will always come first for me.
Here, "первом" describes the ordinal position of the floor, "первом этаже," meaning "first floor."
Мы жили на первом этаже этого дома.
We lived on the first floor of this building.
The word "первую" here forms part of the idiomatic phrase "в первую очередь," meaning "first of all" or "primarily."