Slow and fast multi-photon ionization of clusters in strong XUV and X-ray pulses