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;
using namespace std;
int n, m;
typedef struct {
  int x, y, id;
} edge;
int et;
vector<edge> e[100514];
vector<edge> ans, tans;
vector<edge> stk;
int deg[100514];
int sel[100514];
int vis[100514];
int idu[200514 * 3];
int le[200514 * 3];
int re[200514 * 3];
void dfs(int w, int f) {
  vis[w] = 1;
  for (; ((int)e[w].size());) {
    int id = e[w].back().id;
    if (idu[id]) {
      e[w].pop_back();
      continue;
    }
    idu[id] = 1;
    int t = e[w].back().y;
    stk.push_back(e[w].back());
    e[w].pop_back();
    dfs(t, w);
  }
  if (f != -1) {
    ans.push_back(stk.back());
    stk.pop_back();
  }
}
void pushe(int f, int t) {
  e[f].push_back((edge){f, t, et});
  e[t].push_back((edge){t, f, et});
  et++;
}
void sol() {
  et = 0;
  for (int i = 0; i < m; i++) {
    int x, y;
    scanf("%d %d", &(x), &(y));
    if (x == y) {
      sel[x]++;
      continue;
    }
    deg[x] ^= 1;
    deg[y] ^= 1;
    pushe(x, y);
  }
  int l = -1;
  for (int i = 1; i <= n; i++) {
    if (deg[i] == 0) continue;
    if (l == -1)
      l = i;
    else {
      pushe(l, i);
      l = -1;
    }
  }
  for (int i = 1; i <= n; i++) {
    for (; sel[i] >= 2; sel[i] -= 2) {
      tans.push_back((edge){i, i, 0});
      tans.push_back((edge){i, i, 0});
    }
    if (sel[i] % 2 == 0) continue;
    e[i].push_back((edge){i, i, et++});
  }
  for (int i = 1; i <= n; i++) {
    if (vis[i]) continue;
    dfs(i, -1);
    reverse((ans).begin(), (ans).end());
    if (((int)ans.size()) % 2) {
      int t = ans.back().y;
      ans.push_back((edge){t, t, 0});
    }
    for (int i = 0; i < ((int)ans.size()); i++) {
      if (i & 1)
        tans.push_back((edge){ans[i].x, ans[i].y, 0});
      else
        tans.push_back((edge){ans[i].y, ans[i].x, 0});
    }
    ans.clear();
  }
  printf("%d\n", ((int)tans.size()));
  for (int i = 0; i < ((int)tans.size()); i++) {
    printf("%d %d\n", tans[i].x, tans[i].y);
  }
  ans.clear();
  tans.clear();
  for (int i = 1; i <= n; i++) e[i].clear();
}
int main() {
  while (scanf("%d %d", &(n), &(m)) != EOF) sol();
  return 0;
}