Rosetta Problems

How many Island do you have?

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/415