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;
template <class T1, class T2>
inline istream& operator>>(istream& fin, pair<T1, T2>& pr) {
  fin >> pr.first >> pr.second;
  return fin;
}
template <class T0, class T1, class T2>
inline istream& operator>>(istream& fin, tuple<T0, T1, T2>& t) {
  fin >> get<0>(t) >> get<1>(t) >> get<2>(t);
  return fin;
}
template <class T>
inline istream& operator>>(istream& fin, vector<T>& a) {
  for (auto& u : a) fin >> u;
  return fin;
}
template <class T, size_t n>
inline istream& operator>>(istream& fin, array<T, n>& a) {
  for (auto& u : a) fin >> u;
  return fin;
}
template <class FwdIter>
inline auto dump(FwdIter first, FwdIter last, const char* dlm) -> void {
  copy(first, last,
       ostream_iterator<typename iterator_traits<FwdIter>::value_type>(cout,
                                                                       dlm));
}
void merge(const size_t u, const vector<vector<size_t>>& cycl,
           vector<size_t>& idx, vector<size_t>& acc) {
  acc.push_back(u);
  if (idx[u] != (size_t)-1) {
    const auto& self = cycl[idx[u]];
    idx[u] = (size_t)-1;
    for (const auto v : self) merge(v, cycl, idx, acc);
  }
}
void e527() {
  size_t n, m;
  cin >> n >> m;
  typedef struct {
    size_t head;
    size_t tail;
    bool isused;
  } edge_t;
  vector<edge_t> edge(m);
  vector<vector<size_t>> adj(n);
  for (size_t u, v, i = 0; i < m; ++i) {
    cin >> u >> v;
    --u;
    --v;
    edge[i] = {u, v, false};
    adj[u].push_back(i);
    adj[v].push_back(i);
  }
  vector<size_t> deg(n);
  for (size_t i = 0; i < n; ++i) deg[i] = adj[i].size();
  {
    vector<size_t> odd;
    for (size_t i = 0; i < n; ++i)
      if (deg[i] & 1) odd.push_back(i);
    for (size_t i = 0; i < odd.size(); i += 2) {
      const auto u = odd[i];
      const auto v = odd[i + 1];
      adj[u].push_back(edge.size());
      adj[v].push_back(edge.size());
      edge.push_back({u, v, false});
      ++deg[u];
      ++deg[v];
    }
  }
  queue<size_t> q;
  vector<bool> tag(n, false);
  vector<vector<size_t>> cycl;
  vector<size_t> idx(n, -1);
  for (q.push(0), tag[0] = true; !q.empty(); q.pop())
    if (deg[q.front()]) {
      auto u = q.front();
      idx[u] = cycl.size();
      cycl.push_back({});
      auto& acc = cycl.back();
      while (deg[u]) {
        while (edge[adj[u].back()].isused) adj[u].pop_back();
        auto& e = edge[adj[u].back()];
        e.isused = true;
        --deg[e.head];
        --deg[e.tail];
        u = e.head + e.tail - u;
        acc.push_back(u);
        if (!tag[u]) tag[u] = true, q.push(u);
      }
    }
  vector<size_t> out;
  out.reserve(m + n);
  merge(0, cycl, idx, out);
  if (!(out.size() & 1)) out.push_back(out.back());
  cout << out.size() - 1 << '\n';
  for (size_t i = 1; i < out.size(); ++i)
    if (i & 1)
      cout << out[i - 1] + 1 << ' ' << out[i] + 1 << '\n';
    else
      cout << out[i] + 1 << ' ' << out[i - 1] + 1 << '\n';
}
int main(const int argc, char* argv[]) {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  e527();
  return EXIT_SUCCESS;
}