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