KPMG Interview Question

number manipulation