The brain thinking way translated into Java code format