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