Blazing goIITian
What you actually needed was something else so my answer is right but to know what you needed see this: http://www.artofproblemsolving.com/Forum/viewtopic.php?t=212489