#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  string str;
  cin >> str;
  int i = 0;
  while (i < str.length()) {
    if (str[i] == '1') break;
    i++;
  }
  int count = 0;
  i++;
  while (i < str.length()) {
    if (str[i] == '0') count++;
    i++;
  }
  if (count >= 6)
    cout << "yes" << endl;
  else
    cout << "no" << endl;
  return 0;
}
