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