public class asdfghjk {
static Scanner k = new Scanner(System.in);
public static void main(String[] args) {
// TODO 自動產生的方法 Stub
String s,c,y;
System.out.print("Input a string: ");
s = k.nextLine();
System.out.print("Input a string: ");
c = k.nextLine();
System.out.print("Input a string: ");
y = k.nextLine();
System.out.printf("%s\n", a(s,c,y));
}
public static String a(String s,String c,String y)
{