Language: Java

import java.util.Scanner;
import java.io.*;
public class Main {
&#160; &#160; public static void main(String[] args)throws IOException{
&#160; &#160; &#160; &#160; int[] blood = new int[4];
&#160; &#160; &#160; &#160; BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
&#160; &#160; &#160; &#160; String buf;
&#160; &#160; &#160; &#160; while((buf = br.readLine())!=null){
&#160; &#160; &#160; &#160; &#160; &#160; String b = buf.split(",")[1];
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[0]++;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; else if("B".equals(b))
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[1]++;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; else if("AB".equals(b))
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[2]++;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; else
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[3]++;
&#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; for(int i =0; i<blood.length;i++){
&#160; &#160; &#160; &#160; &#160; &#160; System.out.println(blood[i]);
&#160; &#160; &#160; &#160; }
&#160; &#160; }
}

Compiler output:
Main.java:4: error: illegal start of type
&#160; &#160; public static void main(String[] args)throws IOException{
^
Main.java:4: error: illegal character: '#'
&#160; &#160; public static void main(String[] args)throws IOException{
 ^
Main.java:4: error: illegal start of type
&#160; &#160; public static void main(String[] args)throws IOException{
       ^
Main.java:4: error: illegal character: '#'
&#160; &#160; public static void main(String[] args)throws IOException{
        ^
Main.java:5: error: illegal start of expression
&#160; &#160; &#160; &#160; int[] blood = new int[4];
^
Main.java:5: error: illegal character: '#'
&#160; &#160; &#160; &#160; int[] blood = new int[4];
 ^
Main.java:5: error: illegal start of expression
&#160; &#160; &#160; &#160; int[] blood = new int[4];
       ^
Main.java:5: error: illegal character: '#'
&#160; &#160; &#160; &#160; int[] blood = new int[4];
        ^
Main.java:5: error: illegal start of expression
&#160; &#160; &#160; &#160; int[] blood = new int[4];
              ^
Main.java:5: error: illegal character: '#'
&#160; &#160; &#160; &#160; int[] blood = new int[4];
               ^
Main.java:5: error: illegal start of expression
&#160; &#160; &#160; &#160; int[] blood = new int[4];
                     ^
Main.java:5: error: illegal character: '#'
&#160; &#160; &#160; &#160; int[] blood = new int[4];
                      ^
Main.java:6: error: illegal start of expression
&#160; &#160; &#160; &#160; BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
^
Main.java:6: error: illegal character: '#'
&#160; &#160; &#160; &#160; BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
 ^
Main.java:6: error: illegal start of expression
&#160; &#160; &#160; &#160; BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
       ^
Main.java:6: error: illegal character: '#'
&#160; &#160; &#160; &#160; BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        ^
Main.java:6: error: illegal start of expression
&#160; &#160; &#160; &#160; BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
              ^
Main.java:6: error: illegal character: '#'
&#160; &#160; &#160; &#160; BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
               ^
Main.java:6: error: illegal start of expression
&#160; &#160; &#160; &#160; BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                     ^
Main.java:6: error: illegal character: '#'
&#160; &#160; &#160; &#160; BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                      ^
Main.java:7: error: illegal start of expression
&#160; &#160; &#160; &#160; String buf;
^
Main.java:7: error: illegal character: '#'
&#160; &#160; &#160; &#160; String buf;
 ^
Main.java:7: error: illegal start of expression
&#160; &#160; &#160; &#160; String buf;
       ^
Main.java:7: error: illegal character: '#'
&#160; &#160; &#160; &#160; String buf;
        ^
Main.java:7: error: illegal start of expression
&#160; &#160; &#160; &#160; String buf;
              ^
Main.java:7: error: illegal character: '#'
&#160; &#160; &#160; &#160; String buf;
               ^
Main.java:7: error: illegal start of expression
&#160; &#160; &#160; &#160; String buf;
                     ^
Main.java:7: error: illegal character: '#'
&#160; &#160; &#160; &#160; String buf;
                      ^
Main.java:8: error: illegal start of expression
&#160; &#160; &#160; &#160; while((buf = br.readLine())!=null){
^
Main.java:8: error: illegal character: '#'
&#160; &#160; &#160; &#160; while((buf = br.readLine())!=null){
 ^
Main.java:8: error: illegal start of expression
&#160; &#160; &#160; &#160; while((buf = br.readLine())!=null){
       ^
Main.java:8: error: illegal character: '#'
&#160; &#160; &#160; &#160; while((buf = br.readLine())!=null){
        ^
Main.java:8: error: illegal start of expression
&#160; &#160; &#160; &#160; while((buf = br.readLine())!=null){
              ^
Main.java:8: error: illegal character: '#'
&#160; &#160; &#160; &#160; while((buf = br.readLine())!=null){
               ^
Main.java:8: error: illegal start of expression
&#160; &#160; &#160; &#160; while((buf = br.readLine())!=null){
                     ^
Main.java:8: error: illegal character: '#'
&#160; &#160; &#160; &#160; while((buf = br.readLine())!=null){
                      ^
Main.java:9: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; String b = buf.split(",")[1];
^
Main.java:9: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; String b = buf.split(",")[1];
 ^
Main.java:9: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; String b = buf.split(",")[1];
       ^
Main.java:9: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; String b = buf.split(",")[1];
        ^
Main.java:9: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; String b = buf.split(",")[1];
              ^
Main.java:9: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; String b = buf.split(",")[1];
               ^
Main.java:9: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; String b = buf.split(",")[1];
                     ^
Main.java:9: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; String b = buf.split(",")[1];
                      ^
Main.java:9: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; String b = buf.split(",")[1];
                            ^
Main.java:9: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; String b = buf.split(",")[1];
                             ^
Main.java:9: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; String b = buf.split(",")[1];
                                   ^
Main.java:9: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; String b = buf.split(",")[1];
                                    ^
Main.java:10: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
^
Main.java:10: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
 ^
Main.java:10: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
       ^
Main.java:10: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
        ^
Main.java:10: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
              ^
Main.java:10: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
               ^
Main.java:10: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
                     ^
Main.java:10: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
                      ^
Main.java:10: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
                            ^
Main.java:10: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
                             ^
Main.java:10: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
                                   ^
Main.java:10: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
                                    ^
Main.java:10: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
                                          ^
Main.java:10: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
                                           ^
Main.java:10: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
                                                 ^
Main.java:10: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if("A".equals(b))
                                                  ^
Main.java:11: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[0]++;
^
Main.java:11: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[0]++;
 ^
Main.java:11: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[0]++;
       ^
Main.java:11: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[0]++;
        ^
Main.java:11: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[0]++;
              ^
Main.java:11: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[0]++;
               ^
Main.java:11: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[0]++;
                     ^
Main.java:11: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[0]++;
                      ^
Main.java:11: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[0]++;
                            ^
Main.java:11: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[0]++;
                             ^
Main.java:11: error: illegal start of expression
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[0]++;
                                   ^
Main.java:11: error: illegal character: '#'
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; blood[0]++;
                                    ^
Main.java:11: e