Строка Equlity

import java.util.Scanner;
import java.lang.String;
public class StringEquality {
    public static void main(String[] args) {
        Scanner S1 = new Scanner(System.in);
        Scanner S2 = new Scanner(System.in);
        String s1 = S1.nextLine();
        String s2 = S2.nextLine();
        if (s1.startsWith(s2)){
            System.out.println("true");
        } else{
            System.out.println("false");
        }
    }
}
Breakable Boar