324563 | CodeChef

can anybody help me with this problem ?

thanks in advance