A Square with 'n' isosceles rt. triangles.

Can 'n' identical right isosceles triangles be juxtaposed to form a square?[br]A Problem from codeforces.com.[br]

Information: A Square with 'n' isosceles rt. triangles.