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