Observation of Hercules X-1 at energies above 50 TeV