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