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