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