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