ATM problem error while submitting

why is it showing an error when I try to submit the code but it works fine with custom input?

/* package codechef; // 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 Codechef
{
public static void main (String[] args) throws java.lang.Exception
{
double accountBalance;
int cashWithdraw;
double bankCharges = 0.50;

	BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
    String inputLine = input.readLine();
    String[] split = inputLine.split(" ");
	cashWithdraw = Integer.parseInt(split[0]);
	accountBalance = Double.parseDouble(split[1]);
	
	if(cashWithdraw % 5 == 0 && accountBalance > cashWithdraw) {
	    System.out.printf("%.2f",(accountBalance - cashWithdraw) - bankCharges);
	} else {
	    System.out.printf("%.2f",accountBalance);
	}
	
}

}

Hi @anon19339148, Welcome to Codechef Community. Please format your code in between a pair of three back ticks. ```
Example:

#include <stdio.h>
int main() {
    printf("Hello, World!");
    return 0;
}

Also mention what problem you are facing so that the community can help.
What do you mean by error?