Domanda di colloquio di Electronic Arts

count how many island problem, calculate numbers from input string without using java provided add, minus,