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