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