How do you get Groudon Raquazza and Kyogre in Pokemon Blue rescue team?

For Raquazza, you have to complete the main game and then go to sky tower. It's the same for Groudon. For Kyogre, I don't really know. I only beat the game and got legendaries.