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