#include <bits/stdc++.h>
using namespace std;
void OpenFile() {
  freopen(
      ""
      ".INP",
      "r", stdin);
  freopen(
      ""
      ".OUT",
      "w", stdout);
}
string s;
int cnt;
void Enter() {
  cin >> s;
  int i = 0;
  for (; i < s.size(); ++i)
    if (s[i] == '1') break;
  for (; i < s.size(); ++i)
    if (s[i] == '0') ++cnt;
  if (cnt >= 6)
    cout << "yes";
  else
    cout << "no";
}
void Init() {}
void Solve() {}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  Enter();
  Init();
  Solve();
}
