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