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