class Hola
{
    public static void main (String args [] ) 
    {
        new Fan("Hola mundo <3 ",50 );
    }
}

class Fan implements Runnable 
{
    private String str;
    private int num;

    Fan(String s, int n) 
    {
        str=new String (s);
        num=n;
        Thread t=new Thread (this);
        t. start ( );
    }

    public void run () 
    {
        for (int i=1; i<=num; i++)
            System.out.print (str+" ");
    }
}