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