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