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