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