There are 6 baskets on the table. Each basket has 1, 17, 4, 0, 16 and 18 apples. Emma chose first, John chose second, Liam chose third, Olivia chose sixth, Sean chose fifth, and Matt chose fourth. How many apples did John and Emma choose in total?