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