Language: Java

import java.io.BufferedReader;

public class Main {

	private static BufferedReader brStdin = new BufferedReader(new InputStreamReader(System.in));
	private static String[] readBuf = null;
	private static int readPtr = 0;
	private static String getString() throws IOException {
		while ( readBuf == null || readPtr >= readBuf.length ) {
			readBuf = brStdin.readLine().split(" ");
		}
		return readBuf[readPtr++];
	}
	private static long getLong() throws IOException {
		return Long.parseLong(getString());
	}
	private static BigDecimal getBD() throws IOException {
		return new BigDecimal(getString());
	}
	@SuppressWarnings("unused")
	private static String[] getStringArray(int size) throws IOException {
		String stringArray[] = new String[size];
		for (int i = 0; i < stringArray.length; i++) {
			stringArray[i] = getString();
		}
		return stringArray;
	}
	@SuppressWarnings("unused")
	private static long[] getLongArray(int size) throws IOException {
		long longArray[] = new long[size];
		for (int i = 0; i < longArray.length; i++) {
			longArray[i] = getLong();
		}
		return longArray;
	}
	@SuppressWarnings("unused")
	private static BigDecimal[] getBDArray(int size) throws IOException {
		BigDecimal bdArray[] = new BigDecimal[size];
		for (int i = 0; i < bdArray.length; i++) {
			bdArray[i] = getBD();
		}
		return bdArray;
	}
	
	public static void main(String args[]) throws IOException {
		char c[] = getString().toCharArray();
		
		if ( c[0]==c[1] || c[1]==c[2] || c[2]==c[3] ) {
			System.out.println("Bad");
		} else {
			System.out.println("Good");
		}
	}
}


Compiler output:
Main.java:8: error: cannot find symbol
	private static String getString() throws IOException {
	                                         ^
  symbol:   class IOException
  location: class Main
Main.java:14: error: cannot find symbol
	private static long getLong() throws IOException {
	                                     ^
  symbol:   class IOException
  location: class Main
Main.java:17: error: cannot find symbol
	private static BigDecimal getBD() throws IOException {
	               ^
  symbol:   class BigDecimal
  location: class Main
Main.java:17: error: cannot find symbol
	private static BigDecimal getBD() throws IOException {
	                                         ^
  symbol:   class IOException
  location: class Main
Main.java:21: error: cannot find symbol
	private static String[] getStringArray(int size) throws IOException {
	                                                        ^
  symbol:   class IOException
  location: class Main
Main.java:29: error: cannot find symbol
	private static long[] getLongArray(int size) throws IOException {
	                                                    ^
  symbol:   class IOException
  location: class Main
Main.java:37: error: cannot find symbol
	private static BigDecimal[] getBDArray(int size) throws IOException {
	               ^
  symbol:   class BigDecimal
  location: class Main
Main.java:37: error: cannot find symbol
	private static BigDecimal[] getBDArray(int size) throws IOException {
	                                                        ^
  symbol:   class IOException
  location: class Main
Main.java:45: error: cannot find symbol
	public static void main(String args[]) throws IOException {
	                                              ^
  symbol:   class IOException
  location: class Main
Main.java:5: error: cannot find symbol
	private static BufferedReader brStdin = new BufferedReader(new InputStreamReader(System.in));
	                                                               ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:18: error: cannot find symbol
		return new BigDecimal(getString());
		           ^
  symbol:   class BigDecimal
  location: class Main
Main.java:38: error: cannot find symbol
		BigDecimal bdArray[] = new BigDecimal[size];
		^
  symbol:   class BigDecimal
  location: class Main
Main.java:38: error: cannot find symbol
		BigDecimal bdArray[] = new BigDecimal[size];
		                           ^
  symbol:   class BigDecimal
  location: class Main
13 errors