Do you need someone’s apartment number to send a letter?

I want to send someone a letter. But I want it to be a surprise so I don’t want to ask them. I know the address of the apartment building but not the number of their apartment. Will it still get to them with just the name and address of the building and the persons name?