Student dared to masturbate in public