CGI interview question

basic banking