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