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