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