#include <bits/stdc++.h>
using namespace std;
char str[200];
bool started = false;
int numZero = 0;
int main() {
  scanf("%s", str);
  int len = strlen(str);
  for (int i = 0; i < len; i++) {
    if (str[i] == '1') started = true;
    if (str[i] == '0' && started) {
      numZero++;
    }
  }
  if (numZero >= 6)
    printf("yes\n");
  else
    printf("no\n");
}
