Three-digit numbers (#581) - Azerbaijan Computing Olympiad