Currency System in Geraldion

Problem Name:
Currency System in Geraldion
Site:CodeForces
Links:
Tags:
Problem setters: