Created
October 28, 2017 06:32
-
-
Save suenagasuenaga7/b725e57fded9c711ec2797d78ec2f207 to your computer and use it in GitHub Desktop.
ARC022 A
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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