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