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