Mr Siva recently found a new job after upgrading his skills. When he received his first-month salary, he deposited half of the salary in the bank. He used
1
-
6
of the remaining salary to buy a watch for his wife, and then he bought his friends 10 ties, worth $8 each. In the end, he had $840 left in his wallet. What was Mr Siva's first-month salary?