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