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