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>
#pragma GCC optimize("Ofast")
using namespace std;
using ll = long long;
using ld = long double;
const ll mod = 998244353;
ll gcd(ll a, ll b) {
  if (a == 0 or b == 0) return a + b;
  return gcd(b, a % b);
}
ll sum(ll a, ll b) {
  a += b;
  a %= mod;
  return a;
}
ll sub(ll a, ll b) {
  a += mod - b;
  a %= mod;
  return a;
}
inline ll mul(ll a, ll b) {
  if (a * b < mod) return a * b;
  return a * b % mod;
}
inline ll pew(ll a, ll b) {
  ll res = 1;
  while (b) {
    if (b & 1) res = mul(res, a);
    a = mul(a, a);
    b /= 2;
  }
  return res;
}
int parent[600001];
int rnk[600001];
void make_set(int v) {
  parent[v] = v;
  rnk[v] = 0;
}
int find_set(int v) {
  if (v == parent[v]) return v;
  return parent[v] = find_set(parent[v]);
}
void union_sets(int a, int b) {
  a = find_set(a);
  b = find_set(b);
  if (a != b) {
    if (rnk[a] < rnk[b]) swap(a, b);
    parent[b] = a;
    if (rnk[a] == rnk[b]) ++rnk[a];
  }
}
vector<vector<pair<ll, ll>>> g;
vector<pair<ll, ll>> ans;
vector<ll> L, R, was, used;
vector<ll> A, B;
void dfs(int u, int p, int s) {
  was[u] = 1;
  vector<pair<ll, ll>> e;
  for (int i = 0; i < g[u].size(); i++) {
    if (g[u][i].second == s) continue;
    int v = g[u][i].first;
    int z = g[u][i].second;
    if (used[z] == 1) continue;
    if (was[v] == 0)
      dfs(v, u, z);
    else
      e.push_back({v, z});
  }
  for (int i = 0; i < e.size(); i++) {
    used[e[i].second] = 1;
    if (L[u] % 2 == 1) {
      L[u]++;
      R[e[i].first]++;
      ans.push_back({u, e[i].first});
    } else {
      R[u]++;
      L[e[i].first]++;
      ans.push_back({e[i].first, u});
    }
  }
  while (s != -1) {
    if (L[u] % 2 == 1 and R[u] % 2 == 0) {
      ans.push_back({u, p});
      L[u]++;
      R[p]++;
      break;
    }
    if (L[u] % 2 == 0 and R[u] % 2 == 1) {
      ans.push_back({p, u});
      L[p]++;
      R[u]++;
      break;
    }
    if ((A.size() <= B.size() and L[u] % 2 == 0) or
        (A.size() > B.size() and L[u] % 2 == 1)) {
      ans.push_back({u, p});
      L[u]++;
      R[p]++;
      break;
    } else {
      ans.push_back({p, u});
      L[p]++;
      R[u]++;
      break;
    }
  }
  if (L[u] % 2 == 1) {
    A.push_back(u);
  }
  if (R[u] % 2 == 1) {
    B.push_back(u);
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  ll n, m;
  cin >> n >> m;
  g.resize(n);
  was.resize(n);
  L.resize(n);
  R.resize(n);
  used.resize(m);
  for (int i = 0; i < m; i++) {
    int a, b;
    cin >> a >> b;
    a--, b--;
    if (a == b) {
      L[a]++;
      R[a]++;
      ans.push_back({a, a});
      continue;
    }
    g[a].push_back({b, i});
    g[b].push_back({a, i});
  }
  dfs(0, -1, -1);
  while (A.size() > B.size()) {
    ll v = A.back();
    ans.push_back({v, 0});
    A.pop_back();
    v = A.back();
    ans.push_back({v, 0});
    A.pop_back();
  }
  while (B.size() > A.size()) {
    ll v = B.back();
    ans.push_back({0, v});
    B.pop_back();
    v = B.back();
    ans.push_back({0, v});
    B.pop_back();
  }
  for (int i = 0; i < A.size(); i++) {
    ans.push_back({A[i], B[i]});
  }
  cout << ans.size() << "\n";
  for (int i = 0; i < ans.size(); i++) {
    cout << ans[i].first + 1 << " " << ans[i].second + 1 << "\n";
  }
}