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