#include <iostream>
#include<bits/stdc++.h>
#include <string.h>
#iinclude<string>
using namespace std;
int main() {
string s;
int n;
cin>>s;
cout<<s.size()<<endl;
if(s.size>=6&&1<=s.size)
{
int n = std::stoi(s);
cout<<n<<endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZTxiaXRzL3N0ZGMrKy5oPgojaW5jbHVkZSA8c3RyaW5nLmg+CiNpaW5jbHVkZTxzdHJpbmc+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCXN0cmluZyBzOwppbnQgbjsKICAgIGNpbj4+czsKICAgIGNvdXQ8PHMuc2l6ZSgpPDxlbmRsOwogICAgaWYocy5zaXplPj02JiYxPD1zLnNpemUpCiAgICB7CiAgICAgICAgICAgIGludCBuID0gc3RkOjpzdG9pKHMpOwogICAgICAgICAgICBjb3V0PDxuPDxlbmRsOwogICAgfQogICAJcmV0dXJuIDA7Cn0=
prog.cpp:4:2: error: invalid preprocessing directive #iinclude
#iinclude<string>
^~~~~~~~
prog.cpp: In function ‘int main()’:
prog.cpp:12:10: error: invalid use of member function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
if(s.size>=6&&1<=s.size)
~~^~~~
prog.cpp:12:24: error: invalid use of member function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
if(s.size>=6&&1<=s.size)
~~^~~~