ABC093A - abc of ABC
#include <iostream> #include <string> using namespace std; int main(void) { string s; cin.tie(0); ios::sync_with_stdio(false); cin >> s; cout << (s[0] != s[1] && s[1] != s[2] && s[2] != s[0]? "Yes" : "No") << "\n"; return 0; }
#include <iostream> #include <string> using namespace std; int main(void) { string s; cin.tie(0); ios::sync_with_stdio(false); cin >> s; cout << (s[0] != s[1] && s[1] != s[2] && s[2] != s[0]? "Yes" : "No") << "\n"; return 0; }