Which of the following types of electromagnetic radiation has the most energy?

ultraviolet
visible
infrared
They all have the same energy.