You have the assignment statement with the operands on the wrong side of the = sign.
1 2 3
int x = 5; // ok - declare variable x and give it an initial value of 5
x = 17; // ok - give x the new value of 17
4 = x; // error - attempt to give a new value of 17 to the number 4.