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