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