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