/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
		Scanner S=new Scanner(System.in);
		int []a=new int[3];
		a[0]=S.nextInt();a[1]=S.nextInt();a[2]=S.nextInt();
		for(int i=0;i<3;i++){
			for(int j=1;j<=20;j++)
		System.out.println(a[i]+"X"+j+"\t"+a[i]*j);
		}
	}
}