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 A[500000];
int B[500000];
int ans = 0;
void addedge(int a, int b) {
  A[ans] = a;
  B[ans++] = b;
  return;
}
void print(void) {
  printf("%d\n", ans);
  for (int i = 0; i < ans; i++) printf("%d %d\n", A[i] + 1, B[i] + 1);
  return;
}
int n, m, cnt = -1;
int fir[100000], fa[100000];
int to[400000], nxt[400000];
bool cha[100000], vis[100000];
bool in[100000], out[100000];
bool rev[400000];
void add(int a, int b, bool c) {
  to[++cnt] = b;
  rev[cnt] = c;
  nxt[cnt] = fir[a];
  fir[a] = cnt;
  return;
}
int find(int x) {
  if (x == fa[x]) return x;
  fa[x] = find(fa[x]);
  return fa[x];
}
int in1 = 0, out1 = 0;
bool flag;
int id[100000];
void dfs1(int i, int fa) {
  vis[i] = 1;
  for (int j = fir[i]; j != -1; j = nxt[j])
    if (to[j] != fa) dfs1(to[j], i);
  if (in[i] && out[i]) {
    cha[i] = 1;
    flag ^= 1;
    in[i] = out[i] = 0;
  } else if (in[i] || out[i])
    id[cnt++] = i;
  return;
}
void solve(void) {
  int node = id[0];
  for (int j = cnt - 1; j >= 0; j--) {
    int i = id[j];
    if (in[i] && !out[i]) {
      if (in1 > out1) {
        cha[i] = 1;
        flag ^= 1;
        in[i] ^= 1;
        out[i] ^= 1;
        node = i;
      }
    } else if (!in[i] && out[i]) {
      if (in1 < out1) {
        cha[i] = 1;
        flag ^= 1;
        in[i] ^= 1;
        out[i] ^= 1;
        node = i;
      }
    }
    if (in[i]) in1++;
    if (out[i]) out1++;
  }
  if (flag && cnt > 0) {
    cha[node] ^= 1;
    if (in[node])
      in1--;
    else
      in1++;
    if (out[node])
      out1--;
    else
      out1++;
    in[node] ^= 1;
    out[node] ^= 1;
  }
  return;
}
void dfs2(int i, int fa, bool r) {
  vis[i] = 1;
  for (int j = fir[i]; j != -1; j = nxt[j])
    if (to[j] != fa) dfs2(to[j], i, rev[j]);
  if (fa != -1 && cha[i]) {
    if (r)
      addedge(fa, i);
    else
      addedge(i, fa);
    cha[i] ^= 1;
    cha[fa] ^= 1;
  } else if (fa != -1) {
    if (r)
      addedge(i, fa);
    else
      addedge(fa, i);
  }
  return;
}
int main(void) {
  scanf("%d%d", &n, &m);
  for (int i = 0; i < n; i++) {
    fir[i] = -1;
    fa[i] = i;
  }
  while (m--) {
    int a, b;
    scanf("%d%d", &a, &b);
    a--;
    b--;
    in[b] ^= 1;
    out[a] ^= 1;
    int c = find(a), d = find(b);
    if (c != d) {
      fa[c] = d;
      add(a, b, 0);
      add(b, a, 1);
    } else
      addedge(a, b);
  }
  for (int i = 0; i < n; i++)
    if (!vis[i]) {
      flag = 0;
      cnt = 0;
      dfs1(i, -1);
      solve();
      if (cnt == 0 && flag) {
        cha[i] = 0;
        in[i] = out[i] = 1;
      }
    }
  for (int i = 0; i < n; i++) vis[i] = 0;
  for (int i = 0; i < n; i++)
    if (!vis[i]) dfs2(i, -1, 0);
  int i = 0, j = 0;
  while (i + 1 < n || j + 1 < n) {
    while (i + 1 < n && !in[i]) i++;
    while (j + 1 < n && !out[j]) j++;
    if (in[i] || out[j]) {
      addedge(j, i);
      in[i] ^= 1;
      out[j] ^= 1;
    }
    if (i + 1 < n) i++;
    if (j + 1 < n) j++;
  }
  if (in[n - 1] && out[n - 1]) addedge(n - 1, n - 1);
  print();
  return 0;
}