Challenge #1 in cpp