Cognizant Interview Question

Filling up a magic square.