Nile Migration interview question

calculate points for Canada PR