Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: kakcode
Problemset: ตัวอักษรตัวแรกในคำ
Language: cpp
Time: 0.002 second
Submitted On: 2025-11-12 21:21:03
/*
TASK: c1_bkk66_5
LANG: C++
AUTHOR: ICE
*/
#include <bits/stdc++.h>
using ll = long long;
#define forr(i, a, n) for (int i = a; i < n; i++)
const ll inf = 10e9;
#define int ll
using namespace std;
using pii = pair<int,int>;
signed main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
string s;
cin >> s;
map<char,int> mp;
for(auto i : s)mp[i]++;
for(auto i : mp){if(i.second == 1){cout << i.first;break;}}
return 0;
}