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")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize("-ffloat-store")
using namespace std;
clock_t time_p = clock();
void aryanc403() {}
const long long int INF = 0xFFFFFFFFFFFFFFFL;
long long int seed;
mt19937 rng(seed = chrono::steady_clock::now().time_since_epoch().count());
inline long long int rnd(long long int l = 0, long long int r = INF) {
  return uniform_int_distribution<long long int>(l, r)(rng);
}
class CMP {
 public:
  bool operator()(pair<long long int, long long int> a,
                  pair<long long int, long long int> b) {
    return !(a.first < b.first || (a.first == b.first && a.second <= b.second));
  }
};
void add(map<long long int, long long int> &m, long long int x,
         long long int cnt = 1) {
  auto jt = m.find(x);
  if (jt == m.end())
    m.insert({x, cnt});
  else
    jt->second += cnt;
}
void del(map<long long int, long long int> &m, long long int x,
         long long int cnt = 1) {
  auto jt = m.find(x);
  if (jt->second <= cnt)
    m.erase(jt);
  else
    jt->second -= cnt;
}
bool cmp(const pair<long long int, long long int> &a,
         const pair<long long int, long long int> &b) {
  return a.first < b.first || (a.first == b.first && a.second < b.second);
}
const long long int mod = 1000000007L;
long long int T, n, i, j, k, in, cnt, l, r, u, v, x, y;
long long int m;
string s;
vector<long long int> dg;
vector<vector<pair<long long int, long long int> > > e;
vector<pair<long long int, long long int> > ans;
vector<long long int> b;
vector<bool> vis, visv;
long long int dfs(long long int u, long long int p, long long int pp) {
  if (visv[u]) {
    if (vis[p]) return 0;
    ans.push_back({u, pp});
    ;
    vis[p] = true;
    return 1;
  }
  long long int f = dg[u];
  ;
  visv[u] = true;
  for (auto x : e[u]) {
    if (x.second == p) continue;
    f ^= dfs(x.first, x.second, u);
  };
  assert(!vis[p]);
  vis[p] = true;
  if (f) {
    if (pp) {
      ans.push_back({pp, u});
      ;
    }
    return 0;
  }
  if (pp) {
    ans.push_back({u, pp});
    ;
  }
  return 1;
}
void hotfix() {
  ;
  dg.clear();
  dg.resize(n + 1, 0);
  for (auto x : ans) dg[x.first] ^= 1;
  for (i = (1); i <= (n); ++i) {
    if (!dg[i]) continue;
    ans.push_back({i, i});
  }
}
int main(void) {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  {
    cin >> n >> m;
    e.resize(n + 1);
    dg.resize(n + 1);
    long long int cnt = m;
    for (i = (1); i <= (m); ++i) {
      cin >> u >> v;
      ;
      if (u == v) {
        ans.push_back({u, v});
        dg[u] ^= 1;
        i--;
        m--;
        continue;
      }
      e[u].push_back({v, i});
      e[v].push_back({u, i});
    }
    for (i = (1); i <= (n); ++i) {
      if ((long long int)(e[i]).size() % 2) b.push_back(i);
    };
    ;
    assert((long long int)(b).size() % 2 == 0);
    for (long long int i = 0; i < (long long int)(b).size(); i += 2) {
      cnt++;
      u = b[i];
      v = b[i + 1];
      e[u].push_back({v, ++m});
      e[v].push_back({u, m});
    }
    if (cnt % 2) {
      ans.push_back({1, 1});
      dg[1] ^= 1;
    };
    vis.resize(m + 1, false);
    visv.resize(n + 1, false);
    assert(dfs(1, 0, 0) == 1);
    ;
    cout << (long long int)(ans).size() << "\n";
    for (auto x : ans) cout << x.first << " " << x.second << "\n";
  }
  aryanc403();
  return 0;
}