#include using lint=long long; int main(){ std::cin.tie(nullptr);std::ios_base::sync_with_stdio(false); std::cout.setf(std::ios_base::fixed);std::cout.precision(15); std::string s;std::cin>>s; lint n=std::stoll(s.substr(0,2)); lint d=s.length()-1; if('4'