SP12321 NSQUARE - NSquare Sum ( Easy )

Description

Given two integers N ( N

Input Format

There're two integers N ( 1

Output Format

You have to print an integer x mod P ( -1 < x < 10^18 + 1 ) that satisfies the problem. If there's no number x, print "Impossible".