A group of travelers stranded in the Australia outback was rescued late Monday after three walked for 12 hours to get help.

A father and his 10-year-old son were left inside their car while the three hiked for more than 50 kilometers.

The group was driving through northwest Queensland Sunday when they became stuck in a flooded road. After hours trying to free their vehicle the group decided to spend the night and wait until the next day.

By early Monday three decided to walk to the nearest town - Mount Isa, around 50 kilometers away.

A police rescue mission located the father and son after spotting them from a helicopter sitting on the roof of their car. The two were checked at a hospital and were in good health.

"[They] were flown to Mount Isa Airport in good spirits," RACQ LifeFlight Rescue said in a statement.

Rescue pilot Russell Proctor said that the group did "all the right things" by ensuring it had supplies of food and water. He said they stayed in one spot - making it easier for rescuers to locate them.

"Despite having to wait such a long time to be rescued they remained with their vehicle until help arrived," Proctor said.

Queensland authorities said that the three that walked for 12 hours also didn't require medical treatment.

Large parts of Australia are experiencing increased rainfall due to La Nina - an ocean-atmosphere phenomenon. This caused flooding in low-lying areas including the northeastern state of Queensland.