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