import java.util.Scanner ;
public class Main {
public static void main(String[] args) {
Scanner gender = new Scanner(System.in);
System.out.println("Masukkan kode: ");
String kelamin = gender.nextLine();
if (kelamin.equalsIgnoreCase ("L")) {
System.out.println ("Laki-laki");
} else if (kelamin.equals ("p")){
System.out.println ("perempuan");
} else {
System.out.println("Format salah");
}
}
}