Amadeus Interview Question

long equals Integer.. Short type casted and equals.