HSBC Interview Question

Not quite hard.