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