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;
const int MAXN = 5e5 + 10;
vector<pair<int, int> > a[MAXN];
int ptr[MAXN], b[MAXN], e_v[MAXN], sz[MAXN], total;
bool markv[MAXN], mark[MAXN], mark2[MAXN];
pair<int, int> e[MAXN];
void dfs(int v, int u, int id) {
  while (ptr[v] < a[v].size()) {
    pair<int, int> u2 = a[v][ptr[v]];
    ptr[v]++;
    if (!mark[u2.second]) {
      mark[u2.second] = true;
      dfs(u2.first, v, u2.second);
    }
  }
  if (u != -1) {
    b[u]++;
    if (u < v)
      e_v[id] = 0;
    else
      e_v[id] = 1;
  }
}
void dfs2(int v) {
  markv[v] = true;
  for (auto u : a[v]) {
    if (!markv[u.first]) {
      markv[u.first] = true;
      dfs2(u.first);
      int mn = min(sz[u.first], total - sz[u.first]);
      if (mn % 2 == 1) e_v[u.second] = 1 - e_v[u.second];
      sz[v] += sz[u.first];
    }
  }
  if (mark2[v] == true) sz[v]++;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n, m;
  cin >> n >> m;
  for (int i = 0; i < m; i++) {
    int x, y;
    cin >> x >> y;
    x--;
    y--;
    if (x > y) swap(x, y);
    a[x].push_back({y, i});
    a[y].push_back({x, i});
    e[i] = make_pair(x, y);
  }
  vector<int> v;
  for (int i = 0; i < n; i++)
    if (a[i].size() % 2 == 1) v.push_back(i);
  int cnt = m;
  while (v.size()) {
    int x1 = v.back();
    v.pop_back();
    int x2 = v.back();
    v.pop_back();
    if (x1 > x2) swap(x1, x2);
    a[x1].push_back({x2, cnt});
    a[x2].push_back({x1, cnt});
    e[cnt++] = make_pair(x1, x2);
  }
  if (cnt % 2 == 1) a[0].push_back({0, cnt}), a[0].push_back({0, cnt++});
  dfs(0, -1, -1);
  for (int i = 0; i < n; i++)
    if (b[i] % 2 == 1) mark2[i] = 1, total++;
  dfs2(0);
  cout << cnt << '\n';
  for (int i = 0; i < cnt; i++) {
    if (e_v[i] == 0)
      cout << e[i].first + 1 << ' ' << e[i].second + 1 << '\n';
    else
      cout << e[i].second + 1 << ' ' << e[i].first + 1 << '\n';
  }
  return 0;
}