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