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