Help me in solving MONSTER1 problem

My issue

My code

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

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


class Codechef
{
public static void main (String[] args) {
    Scanner read= new Scanner(System.in);
     int T = read.newInt();
		int H =read.newInt();
		int X =read.newInt();
		int Y= read.newInt();
		for (int i=1;i<=T;i++){
		    System.out.print(0);
		}
		     else if {
		        System.out.println(1);
		        
		    }
		    
		}
		
		
	}


Problem Link: CodeChef: Practical coding for everyone

@shilpeesri
The following link might help.

Logic I used to solve the problem