#include <bits/stdc++.h>
using namespace std;
int n, i, cnt;
string s;
int main() {
  cin >> s;
  n = s.size();
  for (i = 0; i < n; i++)
    if (s[i] == '1') break;
  for (i = i + 1; i < n; i++)
    if (s[i] == '0') cnt++;
  if (cnt >= 6)
    cout << "yes";
  else
    cout << "no";
  return 0;
}
