Make them equal !

SPOJ - MKEQUAL