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