Problem: The project of a data center of a Big Software Company consists of n computers connected by m cables. Simply speaking, each computer can be considered as a box with multiple cables going out of the box. Very Important Information is transmitted along each cable in one of the two directions. As the data center plan is not yet approved, it wasn't determined yet in which direction information will go along each cable. The cables are put so that each computer is connected with each one, perhaps through some other computers.

The person in charge of the cleaning the data center will be Claudia Ivanova, the janitor. She loves to tie cables into bundles using cable ties. For some reasons, she groups the cables sticking out of a computer into groups of two, and if it isn't possible, then she gets furious and attacks the computer with the water from the bucket.

It should also be noted that due to the specific physical characteristics of the Very Important Information, it is strictly forbidden to connect in one bundle two cables where information flows in different directions.

The management of the data center wants to determine how to send information along each cable so that Claudia Ivanova is able to group all the cables coming out of each computer into groups of two, observing the condition above. Since it may not be possible with the existing connections plan, you are allowed to add the minimum possible number of cables to the scheme, and then you need to determine the direction of the information flow for each cable (yes, sometimes data centers are designed based on the janitors' convenience...)

Input

The first line contains two numbers, n and m (1 ≤ n ≤ 100 000, 1 ≤ m ≤ 200 000) — the number of computers and the number of the already present cables, respectively.

Each of the next lines contains two numbers ai, bi (1 ≤ ai, bi ≤ n) — the indices of the computers connected by the i-th cable. The data centers often have a very complex structure, so a pair of computers may have more than one pair of cables between them and some cables may connect a computer with itself.

Output

In the first line print a single number p (p ≥ m) — the minimum number of cables in the final scheme.

In each of the next p lines print a pair of numbers ci, di (1 ≤ ci, di ≤ n), describing another cable. Such entry means that information will go along a certain cable in direction from ci to di.

Among the cables you printed there should be all the cables presented in the original plan in some of two possible directions. It is guaranteed that there is a solution where p doesn't exceed 500 000.

If there are several posible solutions with minimum possible value of p, print any of them.

Examples

Input

4 6
1 2
2 3
3 4
4 1
1 3
1 3


Output

6
1 2
3 4
1 4
3 2
1 3
1 3

Input

3 4
1 2
2 3
1 1
3 3


Output

6
2 1
2 3
1 1
3 3
3 1
1 1

Note

Picture for the first sample test. The tied pairs of cables are shown going out from the same point.

<image>

Picture for the second test from the statement. The added cables are drawin in bold.

<image>

Alternative answer for the second sample test:

<image>

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
int mindels[2][2001];
string s, p;
long long mod = 100000000000001;
int main() {
  int n, m;
  scanf("%d %d", &n, &m);
  vector<std::vector<int> > nb(n + 1);
  std::vector<bool> parsed(n + 1, false);
  std::vector<int> v_lvl(n + 1, -1);
  std::vector<int> par(n + 1, -1);
  std::vector<int> out_e(n + 1, 0);
  int a, b;
  vector<pair<int, int> > roads;
  std::vector<int> roots;
  std::vector<std::vector<int> > comps(n + 1);
  std::vector<int> comp_edges(n + 1);
  std::vector<int> odd_vert(n + 1);
  std::vector<int> need_in;
  std::vector<int> need_out;
  vector<pair<int, int> > ans;
  std::vector<int> root(n + 1);
  map<pair<int, int>, bool> road_used;
  map<pair<int, int>, int> roads_num;
  for (int i = 0; i < m; i++) {
    scanf("%d %d", &a, &b);
    roads.push_back(make_pair(a, b));
    road_used[make_pair(a, b)] = false;
    road_used[make_pair(b, a)] = false;
    roads_num[make_pair(a, b)]++;
    roads_num[make_pair(b, a)]++;
    nb[a].push_back(b);
    nb[b].push_back(a);
  }
  for (int i = 1; i <= n; i++) {
    if (!parsed[i]) {
      roots.push_back(i);
      deque<int> dfs;
      dfs.push_back(i);
      parsed[i] = true;
      par[i] = i;
      v_lvl[i] = 1;
      root[i] = i;
      comps[i].push_back(i);
      while (dfs.size() > 0) {
        int v = dfs.back();
        int h = v_lvl[v] + 1;
        dfs.pop_back();
        for (int j = 0; j < nb[v].size(); j++) {
          if (!parsed[nb[v][j]]) {
            parsed[nb[v][j]] = true;
            v_lvl[nb[v][j]] = h;
            root[nb[v][j]] = i;
            comps[i].push_back(nb[v][j]);
            dfs.push_back(nb[v][j]);
            par[nb[v][j]] = v;
            road_used[make_pair(v, nb[v][j])] = true;
            road_used[make_pair(nb[v][j], v)] = true;
            roads_num[make_pair(v, nb[v][j])]--;
            roads_num[make_pair(nb[v][j], v)]--;
          }
        }
      }
    }
  }
  for (int i = 0; i < m; i++) {
    comp_edges[root[roads[i].first]]++;
    if (roads_num[roads[i]] > 0) {
      roads_num[roads[i]]--;
      roads_num[make_pair(roads[i].second, roads[i].first)]--;
      ans.push_back(roads[i]);
      out_e[roads[i].first]++;
    }
  }
  for (int i = 1; i <= n; i++) {
    if ((nb[i].size()) % 2 == 1) odd_vert[root[i]]++;
  }
  for (int i = 0; i < roots.size(); i++) {
    int x = roots[i];
    vector<pair<int, int> > ccomp;
    int csize = comps[x].size();
    for (int j = 0; j < comps[x].size(); j++) {
      ccomp.push_back(make_pair(v_lvl[comps[x][j]], comps[x][j]));
    }
    sort((ccomp).begin(), (ccomp).end());
    reverse((ccomp).begin(), (ccomp).end());
    int nin, nout;
    if (comp_edges[x] % 2 == 0) {
      nin = odd_vert[x] / 2;
      nout = odd_vert[x] / 2;
      if (nin % 2 == 1) {
        nin++;
        nout--;
        if (need_in.size() > need_out.size()) swap(nin, nout);
      }
    } else {
      if (odd_vert[x] == 0) {
        ans.push_back(make_pair(x, x));
        out_e[x]++;
      }
      nin = odd_vert[x] / 2;
      nout = odd_vert[x] / 2;
      if (nin % 2 == 0) {
        nin++;
        nout--;
        if (need_in.size() > need_out.size()) swap(nin, nout);
      }
    }
    int odd_cnt = 0;
    for (int j = 0; j < csize - 1; j++) {
      int v = ccomp[j].second;
      if (nb[v].size() % 2 == 0) {
        if ((out_e[v] % 2) == 0) {
          ans.push_back(make_pair(par[v], v));
          out_e[par[v]]++;
        } else {
          ans.push_back(make_pair(v, par[v]));
          out_e[v]++;
        }
      } else {
        odd_cnt++;
        if (odd_cnt <= nin) {
          if ((out_e[v] % 2) == 0) {
            ans.push_back(make_pair(par[v], v));
            out_e[par[v]]++;
          } else {
            ans.push_back(make_pair(v, par[v]));
            out_e[v]++;
          }
          need_in.push_back(v);
        } else {
          if ((out_e[v] % 2) == 1) {
            ans.push_back(make_pair(par[v], v));
            out_e[par[v]]++;
          } else {
            ans.push_back(make_pair(v, par[v]));
            out_e[v]++;
          }
          need_out.push_back(v);
        }
      }
    }
    if (odd_cnt < odd_vert[x]) {
      if (nin > odd_cnt) {
        need_in.push_back(x);
      } else {
        need_out.push_back(x);
      }
    }
  }
  while ((need_in.size() > 0) && (need_out.size() > 0)) {
    ans.push_back(make_pair(need_out.back(), need_in.back()));
    need_in.pop_back();
    need_out.pop_back();
  }
  if (need_in.size() > 0) {
    int u = need_in[0];
    int w = need_in[1];
    ans.push_back(make_pair(u, w));
    ans.push_back(make_pair(u, u));
  }
  if (need_out.size() > 0) {
    int u = need_out[0];
    int w = need_out[1];
    ans.push_back(make_pair(w, u));
    ans.push_back(make_pair(u, u));
  }
  cout << ans.size() << endl;
  for (int i = 0; i < ans.size(); i++) {
    cout << ans[i].first << " " << ans[i].second << endl;
  }
}