Language: Java

import java.util.Scanner;

public class Main {
	  public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);
		    
		    String S = scanner.nextLine();
		    String T = scanner.nextLine();
		    
		    String[] resultArray = S.split("");
		    String[] resultArrayy = T.split("");
	        int counta = 0;
	        int countb = 0;
	        int countc = 0;
	        int countd = 0;
	        int counte = 0;
	        int countf = 0;
	        int countg = 0;
	        int counth = 0;
	        int counti = 0;
	        int countj = 0;
	        int countk = 0;
	        int countl = 0;
	        int countm = 0;
	        int countn = 0;
	        int counto = 0;
	        int countp = 0;
	        int countq = 0;
	        int countr = 0;
	        int counts = 0;
	        int countt = 0;
	        int countu = 0;
	        int countv = 0;
	        int countw = 0;
	        int countx = 0;
	        int county = 0;
	        int countz = 0;
	        for (int i = 0; i < resultArray.length; i++)
	        {
	        	if(resultArray[i] == "a") 
	        	{
	        		counta = counta + 1;
	        	}
	        	if(resultArray[i] == "b") 
	        	{
	        		countb = countb + 1;
	        	}
	        	if(resultArray[i] == "c") 
	        	{
	        		countc = countc + 1;
	        	}
	        	if(resultArray[i] == "d") 
	        	{
	        		countd = countd + 1;
	        	}
	        	if(resultArray[i] == "e") 
	        	{
	        		counte = counte + 1;
	        	}
	        	if(resultArray[i] == "f") 
	        	{
	        		countf = countf + 1;
	        	}
	        	if(resultArray[i] == "g") 
	        	{
	        		countg = countg + 1;
	        	}
	        	if(resultArray[i] == "h") 
	        	{
	        		counth = counth + 1;
	        	}
	        	if(resultArray[i] == "i") 
	        	{
	        		counti = counti + 1;
	        	}
	        	if(resultArray[i] == "j") 
	        	{
	        		countj = countj + 1;
	        	}
	        	if(resultArray[i] == "k") 
	        	{
	        		countk = countk + 1;
	        	}
	        	if(resultArray[i] == "l") 
	        	{
	        		countl = countl + 1;
	        	}
	        	if(resultArray[i] == "m") 
	        	{
	        		countm = countm + 1;
	        	}
	        	if(resultArray[i] == "n") 
	        	{
	        		countn = countn + 1;
	        	}
	        	if(resultArray[i] == "o") 
	        	{
	        		counto = counto + 1;
	        	}
	        	if(resultArray[i] == "p") 
	        	{
	        		countp = countp + 1;
	        	}
	        	if(resultArray[i] == "q") 
	        	{
	        		countq = countq + 1;
	        	}
	        	if(resultArray[i] == "r") 
	        	{
	        		countr = countr + 1;
	        	}
	        	if(resultArray[i] == "s") 
	        	{
	        		counts = counts + 1;
	        	}
	        	if(resultArray[i] == "t") 
	        	{
	        		countt = countt + 1;
	        	}
	        	if(resultArray[i] == "u") 
	        	{
	        		countu = countu + 1;
	        	}
	        	if(resultArray[i] == "v") 
	        	{
	        		countv = countv + 1;
	        	}
	        	if(resultArray[i] == "w") 
	        	{
	        		countw = countw + 1;
	        	}
	        	if(resultArray[i] == "x") 
	        	{
	        		countx = countx + 1;
	        	}
	        	if(resultArray[i] == "y") 
	        	{
	        		county = county + 1;
	        	}
	        	if(resultArray[i] == "z") 
	        	{
	        		countz = countz + 1;
	        	}
	        	if(resultArrayy[i] == "a") 
	        	{
	        		counta = counta - 1;
	        	}
	        	if(resultArrayy[i] == "b") 
	        	{
	        		countb = countb - 1;
	        	}
	        	if(resultArrayy[i] == "c") 
	        	{
	        		countc = countc - 1;
	        	}
	        	if(resultArrayy[i] == "d") 
	        	{
	        		countd = countd - 1;
	        	}
	        	if(resultArrayy[i] == "e") 
	        	{
	        		counte = counte - 1;
	        	}
	        	if(resultArrayy[i] == "f") 
	        	{
	        		countf = countf - 1;
	        	}
	        	if(resultArrayy[i] == "g") 
	        	{
	        		countg = countg - 1;
	        	}
	        	if(resultArrayy[i] == "h") 
	        	{
	        		counth = counth - 1;
	        	}
	        	if(resultArrayy[i] == "i") 
	        	{
	        		counti = counti - 1;
	        	}
	        	if(resultArrayy[i] == "j") 
	        	{
	        		countj = countj - 1;
	        	}
	        	if(resultArrayy[i] == "k") 
	        	{
	        		countk = countk - 1;
	        	}
	        	if(resultArrayy[i] == "l") 
	        	{
	        		countl = countl - 1;
	        	}
	        	if(resultArrayy[i] == "m") 
	        	{
	        		countm = countm - 1;
	        	}
	        	if(resultArrayy[i] == "n") 
	        	{
	        		countn = countn - 1;
	        	}
	        	if(resultArrayy[i] == "o") 
	        	{
	        		counto = counto - 1;
	        	}
	        	if(resultArrayy[i] == "p") 
	        	{
	        		countp = countp - 1;
	        	}
	        	if(resultArrayy[i] == "q") 
	        	{
	        		countq = countq - 1;
	        	}
	        	if(resultArrayy[i] == "r") 
	        	{
	        		countr = countr - 1;
	        	}
	        	if(resultArrayy[i] == "s") 
	        	{
	        		counts = counts - 1;
	        	}
	        	if(resultArrayy[i] == "t") 
	        	{
	        		countt = countt  - 1;
	        	}
	        	if(resultArrayy[i] == "u") 
	        	{
	        		countu = countu - 1;
	        	}
	        	if(resultArrayy[i] == "v") 
	        	{
	        		countv = countv - 1;
	        	}
	        	if(resultArrayy[i] == "w") 
	        	{
	        		countw = countw - 1;
	        	}
	        	if(resultArrayy[i] == "x") 
	        	{
	        		countx = countx - 1;
	        	}
	        	if(resultArrayy[i] == "y") 
	        	{
	        		county = county - 1;
	        	}
	        	if(resultArrayy[i] == "z") 
	        	{
	        		countz = countz - 1;
	        	}
	        }
		    if(counta == 0 && countb == 0 && countc == 0 && countd == 0 && counte == 0 && countf == 0
		    	&&	countg == 0 && counth == 0 && counti == 0 && countj == 0 && countk == 0 && countl == 0
		    	&& countm == 0 && countn == 0 && counto == 0 && countp == 0 && countq == 0 && countr == 0
		    	&&	counts == 0 && countt == 0 && countu == 0 && countv == 0 && countw == 0 && countx == 0
		    	&& county == 0 && countz == 0) 
		    {
		    	System.out.println("Yes");
		    }
		    else 
		    {
		    	System.out.println("No");

Compiler output:
Main.java:259: error: reached end of file while parsing
		    	System.out.println("No");
		    	                         ^
1 error