Three-digit number (#48) - Azerbaijan Computing Olympiad