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