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