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