#include <bits/stdc++.h>
using namespace std;
char s[101];
int main() {
  scanf("%s", s);
  int i = 0, n = strlen(s);
  while (i < n && s[i] == '0') ++i;
  ++i;
  int z = 0;
  while (i < n) z += s[i++] == '0';
  printf("%s\n", z >= 6 ? "yes" : "no");
}
