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