Language: Java

import java.awt.*;
import java.awt.geom.*;
import java.io.*;
 
import java.util.*;
class Main {
     
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String tar = sc.next().toLowerCase();
        int count = 0;
        while(true) {
            String tmp = sc.next();
            if(tmp.equals("END_OF_TEXT")) break;
            if(tar.equals(tmp.toLowerCase())) {
                count++;
            }
        }
        System.out.println(count);
    }
}


Compiler output:
Main.java:4: error: illegal character: '\u00a0'
?
^
Main.java:5: error: class, interface, enum, or record expected
import java.util.*;
       ^
Main.java:7: error: illegal character: '\u00a0'
?????
^
Main.java:7: error: illegal character: '\u00a0'
?????
 ^
Main.java:7: error: illegal character: '\u00a0'
?????
  ^
Main.java:7: error: illegal character: '\u00a0'
?????
   ^
Main.java:7: error: illegal character: '\u00a0'
?????
    ^
Main.java:8: error: illegal character: '\u00a0'
?
^
Main.java:9: error: illegal character: '\u00a0'
????public static void main(String[] args) {
^
Main.java:9: error: illegal character: '\u00a0'
????public static void main(String[] args) {
 ^
Main.java:9: error: illegal character: '\u00a0'
????public static void main(String[] args) {
  ^
Main.java:9: error: illegal character: '\u00a0'
????public static void main(String[] args) {
   ^
Main.java:10: error: illegal character: '\u00a0'
????????Scanner sc = new Scanner(System.in);
^
Main.java:10: error: illegal character: '\u00a0'
????????Scanner sc = new Scanner(System.in);
 ^
Main.java:10: error: illegal character: '\u00a0'
????????Scanner sc = new Scanner(System.in);
  ^
Main.java:10: error: illegal character: '\u00a0'
????????Scanner sc = new Scanner(System.in);
   ^
Main.java:10: error: illegal character: '\u00a0'
????????Scanner sc = new Scanner(System.in);
    ^
Main.java:10: error: illegal character: '\u00a0'
????????Scanner sc = new Scanner(System.in);
     ^
Main.java:10: error: illegal character: '\u00a0'
????????Scanner sc = new Scanner(System.in);
      ^
Main.java:10: error: illegal character: '\u00a0'
????????Scanner sc = new Scanner(System.in);
       ^
Main.java:11: error: illegal character: '\u00a0'
????????String tar = sc.next().toLowerCase();
^
Main.java:11: error: illegal character: '\u00a0'
????????String tar = sc.next().toLowerCase();
 ^
Main.java:11: error: illegal character: '\u00a0'
????????String tar = sc.next().toLowerCase();
  ^
Main.java:11: error: illegal character: '\u00a0'
????????String tar = sc.next().toLowerCase();
   ^
Main.java:11: error: illegal character: '\u00a0'
????????String tar = sc.next().toLowerCase();
    ^
Main.java:11: error: illegal character: '\u00a0'
????????String tar = sc.next().toLowerCase();
     ^
Main.java:11: error: illegal character: '\u00a0'
????????String tar = sc.next().toLowerCase();
      ^
Main.java:11: error: illegal character: '\u00a0'
????????String tar = sc.next().toLowerCase();
       ^
Main.java:12: error: illegal character: '\u00a0'
????????int count = 0;
^
Main.java:12: error: illegal character: '\u00a0'
????????int count = 0;
 ^
Main.java:12: error: illegal character: '\u00a0'
????????int count = 0;
  ^
Main.java:12: error: illegal character: '\u00a0'
????????int count = 0;
   ^
Main.java:12: error: illegal character: '\u00a0'
????????int count = 0;
    ^
Main.java:12: error: illegal character: '\u00a0'
????????int count = 0;
     ^
Main.java:12: error: illegal character: '\u00a0'
????????int count = 0;
      ^
Main.java:12: error: illegal character: '\u00a0'
????????int count = 0;
       ^
Main.java:13: error: illegal character: '\u00a0'
????????while(true) {
^
Main.java:13: error: illegal character: '\u00a0'
????????while(true) {
 ^
Main.java:13: error: illegal character: '\u00a0'
????????while(true) {
  ^
Main.java:13: error: illegal character: '\u00a0'
????????while(true) {
   ^
Main.java:13: error: illegal character: '\u00a0'
????????while(true) {
    ^
Main.java:13: error: illegal character: '\u00a0'
????????while(true) {
     ^
Main.java:13: error: illegal character: '\u00a0'
????????while(true) {
      ^
Main.java:13: error: illegal character: '\u00a0'
????????while(true) {
       ^
Main.java:14: error: illegal character: '\u00a0'
????????????String tmp = sc.next();
^
Main.java:14: error: illegal character: '\u00a0'
????????????String tmp = sc.next();
 ^
Main.java:14: error: illegal character: '\u00a0'
????????????String tmp = sc.next();
  ^
Main.java:14: error: illegal character: '\u00a0'
????????????String tmp = sc.next();
   ^
Main.java:14: error: illegal character: '\u00a0'
????????????String tmp = sc.next();
    ^
Main.java:14: error: illegal character: '\u00a0'
????????????String tmp = sc.next();
     ^
Main.java:14: error: illegal character: '\u00a0'
????????????String tmp = sc.next();
      ^
Main.java:14: error: illegal character: '\u00a0'
????????????String tmp = sc.next();
       ^
Main.java:14: error: illegal character: '\u00a0'
????????????String tmp = sc.next();
        ^
Main.java:14: error: illegal character: '\u00a0'
????????????String tmp = sc.next();
         ^
Main.java:14: error: illegal character: '\u00a0'
????????????String tmp = sc.next();
          ^
Main.java:14: error: illegal character: '\u00a0'
????????????String tmp = sc.next();
           ^
Main.java:15: error: illegal character: '\u00a0'
????????????if(tmp.equals("END_OF_TEXT")) break;
^
Main.java:15: error: illegal character: '\u00a0'
????????????if(tmp.equals("END_OF_TEXT")) break;
 ^
Main.java:15: error: illegal character: '\u00a0'
????????????if(tmp.equals("END_OF_TEXT")) break;
  ^
Main.java:15: error: illegal character: '\u00a0'
????????????if(tmp.equals("END_OF_TEXT")) break;
   ^
Main.java:15: error: illegal character: '\u00a0'
????????????if(tmp.equals("END_OF_TEXT")) break;
    ^
Main.java:15: error: illegal character: '\u00a0'
????????????if(tmp.equals("END_OF_TEXT")) break;
     ^
Main.java:15: error: illegal character: '\u00a0'
????????????if(tmp.equals("END_OF_TEXT")) break;
      ^
Main.java:15: error: illegal character: '\u00a0'
????????????if(tmp.equals("END_OF_TEXT")) break;
       ^
Main.java:15: error: illegal character: '\u00a0'
????????????if(tmp.equals("END_OF_TEXT")) break;
        ^
Main.java:15: error: illegal character: '\u00a0'
????????????if(tmp.equals("END_OF_TEXT")) break;
         ^
Main.java:15: error: illegal character: '\u00a0'
????????????if(tmp.equals("END_OF_TEXT")) break;
          ^
Main.java:15: error: illegal character: '\u00a0'
????????????if(tmp.equals("END_OF_TEXT")) break;
           ^
Main.java:16: error: illegal character: '\u00a0'
????????????if(tar.equals(tmp.toLowerCase())) {
^
Main.java:16: error: illegal character: '\u00a0'
????????????if(tar.equals(tmp.toLowerCase())) {
 ^
Main.java:16: error: illegal character: '\u00a0'
????????????if(tar.equals(tmp.toLowerCase())) {
  ^
Main.java:16: error: illegal character: '\u00a0'
????????????if(tar.equals(tmp.toLowerCase())) {
   ^
Main.java:16: error: illegal character: '\u00a0'
????????????if(tar.equals(tmp.toLowerCase())) {
    ^
Main.java:16: error: illegal character: '\u00a0'
????????????if(tar.equals(tmp.toLowerCase())) {
     ^
Main.java:16: error: illegal character: '\u00a0'
????????????if(tar.equals(tmp.toLowerCase())) {
      ^
Main.java:16: error: illegal character: '\u00a0'
????????????if(tar.equals(tmp.toLowerCase())) {
       ^
Main.java:16: error: illegal character: '\u00a0'
????????????if(tar.equals(tmp.toLowerCase())) {
        ^
Main.java:16: error: illegal character: '\u00a0'
????????????if(tar.equals(tmp.toLowerCase())) {
         ^
Main.java:16: error: illegal character: '\u00a0'
????????????if(tar.equals(tmp.toLowerCase())) {
          ^
Main.java:16: error: illegal character: '\u00a0'
????????????if(tar.equals(tmp.toLowerCase())) {
           ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
 ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
  ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
   ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
    ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
     ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
      ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
       ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
        ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
         ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
          ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
           ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
            ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
             ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
              ^
Main.java:17: error: illegal character: '\u00a0'
????????????????count++;
               ^
Main.java:18: error: illegal character: '\u00a0'
????????????}
^
Main.java:18: error: illegal character: '\u00a0'
????????????}
 ^
Main.java:18: error: illegal character: '\u00a0'
????????????}
  ^
Main.java:18: error: illegal character: '\u00a0'
????????????}
   ^
100 errors
only showing the first 100 errors, of 128 total; use -Xmaxerrs if you would like to see more