Armed man ties up pharmacy staff