The leader of the navy SEAL outfit which pulled 12 Thai boys and their soccer coach out of a cave says he and his men aren't heroes, saying they were just doing their job.
Rear Admiral Apakorn Yuukongkaew also hailed the international effort, which included Australians.
"We are not heroes. This mission was successful because of cooperation from everyone," he said. "For SEALs, this is what we were trained for. The navy has a motto: 'We don't abandon the people'."
Official help came from Britain, the United States, Japan, Laos, Myanmar, China and Australia, a government document showed.
There were also volunteers from Denmark, Germany, Belgium, Canada, Ukraine and Finland.
Rescue mission chief Narongsak Osottanakorn told a news conference the boys were just being children when they got lost and no one was to blame.
"We don't see the children as at fault or as heroes. They are children being children, it was an accident," he said.
He said falling oxygen levels inside the cave complex had added a sense of urgency to the rescue.
A video of the boys in hospital was show at the news conference. Some, wearing surgical masks, lay on their beds. Some sat.
"From our assessment, they are in good condition and not stressed. The children were well taken care of in the cave. Most of the boys lost an average of two kilograms," Thongchai Lertwilairattanapong, an inspector for Thailand's health department, said.
Parents of the first four boys freed on Sunday have been able to visit them but had to wear protective suits and stand two metres away as a precaution.
Thongchai said one from the last group rescued on Tuesday had a lung infection and they were all given vaccinations for rabies and tetanus.
Thai Prime Minister Prayuth Chan-ocha asked that the boys be given time and space to recover.
"The important thing is ... personal space," Prayuth said.
"The best way is not to bother them and let them study."
The group ventured into the vast cave complex in the northern province of Chiang Rai after soccer practice on June 23 and were trapped when a rainy season downpour flooded tunnels.
They were lost for nine days before they were discovered by British divers on July 2.
Getting them out - which involved teaching boys as young as 11 who were not strong swimmers to dive through narrow, submerged passages - proved a monumental challenge.
A former member of Thailand's navy SEAL unit died during a mission in the cave on Friday.
A senior Australian police officer acknowledged the degree of international cooperation "in a very unfriendly environment".
"It is amazing what the human being can do. There are extraordinary people doing extraordinary things," Glenn McEwan, the Australian Federal Police's Asia manager, said.
The fate of the boys has even resonated as far as Russia, where soccer's World Cup is reaching its final stages.
Players from France and England welcomed news of the rescue and sent their best wishes to the Wild Boars on Twitter.
"This victory goes to the heroes of the day, well done boys, you are so strong," French midfielder Paul Pogba tweeted after his team beat Belgium 1-0 on Tuesday to reach the final.
Manchester City and England defender Kyle Walker, whose team faces Croatia in the second semi-final later on Wednesday, said he wanted to send shirts to the boys.
"Amazing news that all of the Thai kids are out of the cave safely!" Walker tweeted.