﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GameOfNumbers
{
    class Program
    {
        static void Main(string[] args)
        {
            int N = int.Parse(Console.ReadLine());
            int M = int.Parse(Console.ReadLine());
            int MagicalNumber = int.Parse(Console.ReadLine());
            for(int i=1; i<=N; i++)
            {
                for(int c = 1; c <= M; i++)
                {

                }
            }
        }
    }
}
