#include <bits/stdc++.h>
using namespace std;
int main() {
  string str;
  cin >> str;
  int min = 10100, count = 0;
  for (int i = 0; i < str.length(); i++)
    if (str[i] == '1' && i < min) min = i;
  for (int i = min; i < str.length(); i++)
    if (str[i] == '0') count++;
  if (count > 5)
    cout << "yes";
  else
    cout << "no";
  return 0;
}
