Objective: how to say hello nonverbally?

Which of the following solutions is more sound in terms of naive physics reasoning?

Options: A). raise your middle finger at them. B). wave your hand at someone.
B).