Prints X before O