#include <iostream>
#include <string>
using namespace std;
int main()
{
string n;
cin >> n;
for (size_t i = 0; i < n.length(); i++)
if (n[i] == '0')
cout << "YES";
return 0;
}
cout << "NO";
#include <iostream>
#include <string>
using namespace std;
int main()
{
string n;
cin >> n;
for (size_t i = 0; i < n.length(); i++)
{
if (n[i] == '0')
{
cout << "YES";
return 0;
}
}
cout << "NO";
return 0;
}