NZEC get in atm problem

import java.io.;
import java.util.
;

/* Name of the class has to be “Main” only if the class is public. */
class Codechef
{
public static void main (String[] args)
{
Scanner sc = new Scanner(System.in);
System.out.println(“enter the amout to withdraw”);

    int withdraw = sc.nextInt();
    int ibal = sc.nextInt();
    if (((withdraw+0.50)<ibal) && withdraw % 5 ==0) 
    {
        System.out.println(ibal -(withdraw+0.50));
    }
    else 
    System.out.println(ibal);
}

}

Give your input in custom input and you will get the answer😁 .