I wud've slapped that person even if it meant risking my job! I even slapped a maulvi for "accidently" brushing his hand against me! (and NO it wasn't an accident!) Why be quiet and take it? It gives perverts the impression that u're "ok" with it!
Sometimes you'll find a guy might smack you back twice as hard or do even more as there are some nut cases out there and not all men excuses themselves from raising their hands on a woman. So be careful in the future.