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