Write a Python program that takes an age as input and raises a custom exception if the age is less than 18. The exception message should be “Age should be at least 18.”
Example 1:
Input: 15
Output: "Error: Age should be at least 18."
Example 2:
Input: 20
Output: "Valid age."