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