Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suenagasuenaga7/b725e57fded9c711ec2797d78ec2f207 to your computer and use it in GitHub Desktop.
Save suenagasuenaga7/b725e57fded9c711ec2797d78ec2f207 to your computer and use it in GitHub Desktop.
ARC022 A
import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc= new Scanner(System.in);
String S = sc.next();
if(S.toLowerCase().matches("^.*i.*c.*t.*$")){
System.out.println("YES");
}else{
System.out.println("NO");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment