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