A maths detective is in search of a five-digit number. He knows that its last digit is 3 times the first digit, the 3rd digit is 3 less than the second digit, and the 4th digit is 4 more than the third digit. If the number is divisible by 3, what will the 1st digit of the number be?