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