Skip to content

Instantly share code, notes, and snippets.

@ArthurLoboLobo
Created June 1, 2023 14:44
Show Gist options
  • Save ArthurLoboLobo/b82ab34b55de76212a12c510c8a5d437 to your computer and use it in GitHub Desktop.
Save ArthurLoboLobo/b82ab34b55de76212a12c510c8a5d437 to your computer and use it in GitHub Desktop.
#include<bits/stdc++.h>
using namespace std;
const long long inf = (long long) 1e18 + 10;
const int inf1 = (int) 1e9 + 10;
#define int long long
#define dbl long double
#define endl '\n'
#define sc second
#define fr first
#define mp make_pair
#define pb push_back
#define all(x) x.begin(), x.end()
const int maxn = 1e5;
void solve() {
string a, b, c;
cin >> a >> b >> c;
if(a != b && a != c && b != c) {
cout << "S" << endl;
}
else {
cout << "N" << endl;
}
}
int32_t main() {
ios::sync_with_stdio(false); cin.tie(0);
// freopen("in.in", "r", stdin);
// freopen("out.out", "w", stdout);
int tt = 1;
// cin >> tt;
while(tt--) {
solve();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment