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 JAVA):

Solution:
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.Reader;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
import java.util.StringTokenizer;

public class Problem_527_E {
  // Codeforces Round #296 (Div. 2)

  public static void main(String[] args)
  {
    InputStream inputStream = System.in;
    OutputStream outputStream = System.out;
    PrintWriter out = new PrintWriter(outputStream);
    Problem_527_E solver = new Problem_527_E();
    solver.solve(1, new InputStreamReader(inputStream), out);
    out.close();
  }

  int n, m;

  List<Edge>[] g;

  int edges = 0;

  List<Integer> path;

  int[] ptr;

  @SuppressWarnings("unchecked")
  public void solve(int test, Reader input, PrintWriter out)
  {
    MyScanner in = new MyScanner(input);
    n = in.nextInt();
    m = in.nextInt();

    g = new ArrayList[n];
    for(int i = 0; i < n; ++i)
      g[i] = new ArrayList<>();

    for(int i = 0; i < m; ++i) {
      int v = in.nextInt() - 1, u = in.nextInt() - 1;
      add(v, u);
    }
    int prev = -1;
    for(int i = 0; i < n; ++i) {
      if(g[i].size() % 2 == 1) {
        if(prev == -1) {
          prev = i;
        } else {
          add(prev, i);
          prev = -1;
        }
      }
    }

    if(edges % 2 == 1)
      add(0, 0);
    path = new ArrayList<Integer>();
    ptr = new int[n];
    euler(0);

    out.println(path.size() - 1);
    // System.out.println(path);
    boolean rev = true;
    for(int i = 0; i + 1 < path.size(); ++i) {
      if(rev) {
        out.println(path.get(i + 1) + " " + path.get(i));
      } else {
        out.println(path.get(i) + " " + path.get(i + 1));
      }
      rev = !rev;
    }

    out.close();
  }

  // private void euler(int v) {
  //  for(;ptr[v] < g[v].size(); ++ptr[v]) {
  //    int i = ptr[v];
  //    if (!g[v].get(i).used) {
  //      Edge e = g[v].get(i);
  //      e.used = e.rev.used = true;
  //      ptr[v] = i + 1;
  //      euler(e.to);
  //    }
  //  }
  //  path.add(v + 1);
  // }

  private void euler(int v)
  {
    Stack<Integer> stack = new Stack<>();
    stack.add(v);
    while(stack.size() > 0) {
      v = stack.peek();
      boolean found = false;
      while(ptr[v] < g[v].size()) {
        int i = ptr[v];
        if(!g[v].get(i).used) {
          Edge e = g[v].get(i);
          e.used = e.rev.used = true;
          ++ptr[v];
          stack.add(e.to);
          found = true;
          break;
        }
        ++ptr[v];
      }
      if(!found) {
        path.add(v + 1);
        stack.pop();
      }
    }
  }

  private void add(int from, int to)
  {
    Edge e1 = new Edge(to);
    Edge e2 = new Edge(from);
    e1.rev = e2;
    e2.rev = e1;
    g[from].add(e1);
    g[to].add(e2);
    ++edges;
  }

  class Edge {
    int to;

    Edge rev;

    boolean used;

    public Edge(int to)
    {
      this.to = to;
      this.rev = null;
      this.used = false;
    }
  }

  //-----------MyScanner class for faster input----------
  public static class MyScanner {
    BufferedReader br;

    StringTokenizer st;

    public MyScanner(Reader reader)
    {
      br = new BufferedReader(reader);
    }

    String next()
    {
      while(st == null || !st.hasMoreElements()) {
        try {
          st = new StringTokenizer(br.readLine());
        }
        catch(IOException e) {
          e.printStackTrace();
        }
      }
      return st.nextToken();
    }

    int nextInt()
    {
      return Integer.parseInt(next());
    }

    long nextLong()
    {
      return Long.parseLong(next());
    }

    double nextDouble()
    {
      return Double.parseDouble(next());
    }

    String nextLine()
    {
      String str = "";
      try {
        str = br.readLine();
      }
      catch(IOException e) {
        e.printStackTrace();
      }
      return str;
    }

  }
  //--------------------------------------------------------
}