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