Expression
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Given integers . Arrange between them the signs "+" and "-" so that the value of the resulting expression is equal to .
Input
The first line contains two values and . The next line contains integers .
Output
If it is impossible to get the result, print "No solution". Otherwise print the equality. If the solution is not unique, print any.
Examples
Input #1
Answer #1
Submissions 3K
Acceptance rate 22%