TASK DEFINITION: In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation.
PROBLEM: Monaco

SOLUTION: 1861

PROBLEM: Tonga

SOLUTION: 1970

PROBLEM: Liberia

SOLUTION:
1847