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