fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. #define endl '\n'
  4. #define int long long
  5.  
  6. const int MOD=1e9+7;
  7. const int INF=LLONG_MAX/2;
  8.  
  9. signed main() {
  10. ios::sync_with_stdio(false);cin.tie(NULL);
  11. string s;
  12. cin>>s;
  13. if (s[0] >= 'a' && s[0] <= 'z') {
  14. s[0] -= 32;
  15. }
  16. cout<<s<<endl;
  17. }
  18.  
Success #stdin #stdout 0.01s 5236KB
stdin
konjac
stdout
Konjac