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