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