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