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