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