package test1; import java.util.Scanner; public class test1_class { public static void main(String[] args) { // 標準入力から読み込む際に、Scannerオブジェクトを使う。 Scanner sc = new Scanner(System.in); String A = sc.next(); String B = sc.next(); StringBuffer sb = new StringBuffer(B); String A_work; int count=0; for(int i=0; i= A.length()){ System.out.println("YES" + "\n"); }else { System.out.println("NO" + "\n"); } sc.close(); } }