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