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