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