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