Given 3 integers, check whether a valid date can be formed or not. The input does not have a specific format.
Example 1:
Input: [2000, 10, 10] Output: true
Example 2:
Input: [1, 32, 1990] Output: false
Example 3:
Input: [2, 2000, 30] Output: false