Each square contains one of the numbers 1, 2, 3, 4, 5 or 6 and each number is used once. Except for the top row, the number in each square is the difference of the numbers in the two squares above it. What number is in the square marked A?