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;
bool hadDebugEnv = false;
bool isDebugEnv = false;
bool isDebug() {
  if (!hadDebugEnv) {
    hadDebugEnv = true;
    isDebugEnv = (getenv("SWATMAD_CF_DEBUG") != NULL);
  }
  return isDebugEnv;
}
chrono::high_resolution_clock::time_point timeStart;
const int INF = numeric_limits<int>::max();
const long long LLINF = numeric_limits<long long>::max();
std::bitset<32> bits(int x) { return std::bitset<32>(x); }
template <class F, class S>
ostream& operator<<(ostream& o, const pair<F, S>& p) {
  return o << "(" << p.first << ", " << p.second << ")";
}
template <class T>
ostream& operator<<(ostream& o, const vector<T>& a);
template <class C>
void csp(ostream& o, const C& c) {
  bool f = 1;
  for (const auto& x : c) {
    if (!f) o << ", ";
    f = 0;
    o << x;
  }
}
template <class T>
ostream& operator<<(ostream& o, const vector<T>& a) {
  o << "[";
  csp(o, a);
  o << "]";
  return o;
}
template <class T>
ostream& operator<<(ostream& o, const vector<vector<T>>& a) {
  for (const auto& x : a) {
    o << "[";
    csp(o, x);
    o << "]\n";
  }
  return o;
}
template <class T, class R>
ostream& operator<<(ostream& o, const map<T, R>& a) {
  o << "{";
  csp(o, a);
  o << "}";
  return o;
}
template <class T, class R>
ostream& operator<<(ostream& o, const unordered_map<T, R>& a) {
  o << "{";
  csp(o, a);
  o << "}";
  return o;
}
template <class T>
ostream& operator<<(ostream& o, const set<T>& a) {
  o << "{";
  csp(o, a);
  o << "}";
  return o;
}
template <class T>
ostream& operator<<(ostream& o, const unordered_set<T>& a) {
  o << "{";
  csp(o, a);
  o << "}";
  return o;
}
struct Edge {
  int from;
  int to;
  int rev;
};
ostream& operator<<(ostream& os, const Edge& edge) {
  return os << edge.from << "|" << edge.to << "|" << edge.rev;
}
vector<int> eulerCycle(const vector<vector<Edge>>& a) {
  vector<vector<bool>> u(a.size());
  int m = 0;
  for (int i = 0; i < (int)(a.size()); ++i) {
    u[i].assign(a[i].size(), false);
    m += a[i].size();
  }
  vector<int> l(a.size(), 0);
  vector<int> cycle;
  cycle.reserve(m / 2);
  stack<int> s;
  s.push(0);
  while (!s.empty()) {
    int v = s.top();
    bool found = false;
    while (l[v] < a[v].size()) {
      int i = l[v];
      ++l[v];
      if (!u[v][i]) {
        const auto& e = a[v][i];
        u[v][i] = true;
        u[e.to][e.rev] = true;
        s.push(e.to);
        found = true;
        break;
      }
    }
    if (!found) {
      cycle.push_back(v);
      s.pop();
    }
  }
  return cycle;
}
int main() {
  if (isDebug()) {
    timeStart = chrono::high_resolution_clock::now();
  };
  int n;
  int m;
  cin >> n >> m;
  vector<vector<Edge>> a(n);
  vector<int> d(n, 0);
  vector<bool> h(n, false);
  for (int i = 0; i < (int)(m); ++i) {
    int f;
    int t;
    scanf("%d %d", &f, &t);
    --f;
    --t;
    if (f == t) {
      h[f] = true;
    }
    ++d[f];
    ++d[t];
    a[f].push_back({f, t, 0});
    int pos = a[f].size() - 1;
    a[t].push_back({t, f, pos});
    a[f][pos].rev = a[t].size() - 1;
  }
  vector<int> ne4;
  ne4.reserve(n);
  for (int i = 0; i < (int)(n); ++i) {
    if (d[i] % 2 == 1) {
      ne4.push_back(i);
    }
  }
  for (int i = 0; i < (int)(ne4.size() / 2); ++i) {
    int f = ne4[2 * i];
    int t = ne4[2 * i + 1];
    a[f].push_back({f, t, 0});
    int pos = a[f].size() - 1;
    ++d[f];
    a[t].push_back({t, f, pos});
    ++d[t];
    a[f][pos].rev = a[t].size() - 1;
    ++m;
  }
  if (isDebug()) {
    cerr << m << endl;
  };
  auto cycle = eulerCycle(a);
  vector<Edge> ans;
  ans.reserve(cycle.size());
  for (int i = 0; i < (int)(cycle.size() - 1); ++i) {
    if (i % 2 == 0) {
      ans.push_back({cycle[i], cycle[i + 1], 0});
    } else {
      ans.push_back({cycle[i + 1], cycle[i], 0});
    }
  }
  if (ans.size() % 2 == 1) {
    ans.push_back({ans.back().to, ans.back().to, 0});
  }
  printf("%d\n", int(ans.size()));
  for (const auto& e : ans) {
    printf("%d %d\n", e.from + 1, e.to + 1);
  }
  if (isDebug()) {
    cerr << "Time check: "
         << double(chrono::duration_cast<chrono::milliseconds>(
                       chrono::high_resolution_clock::now() - timeStart)
                       .count()) /
                1000
         << endl;
  };
  return 0;
}