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