Rosetta Problems

Beginner Free Contest 3 - ELECTRIC

https://oj.vnoi.info/problem/fcb003_electric