Rar the Cat was busy setting up student's problems that he accidentally forgot to save the problem statement of his own problem!

Furthermore, he does not have the time and effort to rewrite his own problem statement as the problems submitted contained numerous errors :P

However, he does still have a (poorly written) solution 'ans.cpp' and his testcases.

Given 'ans.cpp', your task is to solve this problem without the problem statement.

'ans.cpp' is given in the attachments.

Submitting .cpp to 'nostatement'

You're not logged in! Click here to login

Time Limit: 1 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: Dunjudge Archive

Subtask Score
1 100
2 0