Problem A: Which Base is it Anyway?

Time Limit: 2 Second    Memory Limit: 65536 KB

Submit