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 n, m;
struct edge {
  int u, v, vis;
} e[400005 * 2];
int le;
vector<int> G[400005];
int bin[400005];
int find(int a) {
  if (bin[a] != a) bin[a] = find(bin[a]);
  return bin[a];
}
void get(int a, int b) {
  int x = find(a);
  int y = find(b);
  if (x != y) bin[x] = y;
}
int num[400005];
int z[400005];
int k;
int res[400005];
int cnt[400005];
int mark[400005];
void dfs(int x) {
  mark[x] = 1;
  int y;
  for (int& i = cnt[x]; i < G[x].size(); i++) {
    int p = G[x][i];
    if (e[p].vis) continue;
    y = e[p].v;
    e[p].vis = 1;
    e[p ^ 1].vis = 1;
    dfs(y);
  }
  res[k++] = x;
}
int main() {
  le = 0;
  scanf("%d%d", &n, &m);
  for (int i = 0; i <= n; i++) bin[i] = i;
  for (int i = 0; i < m; i++) {
    le += 2;
    int u, v;
    scanf("%d%d", &u, &v);
    e[i * 2].u = u;
    e[i * 2].v = v;
    e[i * 2].vis = 0;
    e[i * 2 + 1].u = v;
    e[i * 2 + 1].v = u;
    e[i * 2 + 1].vis = 0;
    G[u].push_back(i * 2);
    G[v].push_back(i * 2 + 1);
    get(u, v);
  }
  memset(num, 0, sizeof(num));
  memset(z, -1, sizeof(z));
  for (int i = 0; i <= n; i++) find(i);
  for (int i = 1; i <= n; i++) {
    if (G[i].size() % 2 == 1) {
      if (z[bin[i]] == -1)
        z[bin[i]] = i;
      else {
        int u = i, v = z[bin[i]];
        z[bin[i]] = -1;
        e[le].u = u;
        e[le].v = v;
        e[le].vis = 0;
        e[le + 1].u = v;
        e[le + 1].v = u;
        e[le + 1].vis = 0;
        G[u].push_back(le);
        G[v].push_back(le + 1);
        le += 2;
      }
    }
  }
  for (int i = 1; i <= n; i++) num[bin[i]] += G[i].size();
  for (int i = 0; i <= n; i++)
    if ((num[i] / 2) % 2 == 1) {
      e[le].u = i;
      e[le].v = i;
      e[le].vis = 0;
      e[le + 1].u = i;
      e[le + 1].v = i;
      e[le + 1].vis = 0;
      G[i].push_back(le);
      G[i].push_back(le + 1);
      le += 2;
      num[i] += 2;
    }
  printf("%d\n", le / 2);
  for (int i = 1; i <= n; i++) {
    if (mark[i]) continue;
    k = 0;
    dfs(i);
    for (int j = 0; j < k - 1; j++) {
      if (j % 2 == 0)
        printf("%d %d\n", res[j], res[j + 1]);
      else
        printf("%d %d\n", res[j + 1], res[j]);
    }
  }
}