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