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:
/**
 * Created by Anna on 24.03.2015.
 */


import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Stack;
import java.util.StringTokenizer;

public class TaskE {

    StringTokenizer st;
    BufferedReader in;
    PrintWriter out;

    public static void main(String[] args) throws NumberFormatException,
            IOException {
        TaskE solver = new TaskE();
        solver.open();
        solver.solve();
        solver.close();
    }

    public void open() throws IOException {
        in = new BufferedReader(new InputStreamReader(System.in));
        out = new PrintWriter(System.out);
        //in = new BufferedReader(new FileReader("input.txt"));
        //out = new PrintWriter(new FileWriter("output.txt"));
    }

    public String nextToken() throws IOException {
        while (st == null || !st.hasMoreTokens()) {
            String line = in.readLine();
            if (line == null)
                return null;
            st = new StringTokenizer(line);
        }
        return st.nextToken();
    }

    public int nextInt() throws NumberFormatException, IOException {
        return Integer.parseInt(nextToken());
    }

    public long nextLong() throws NumberFormatException, IOException {
        return Long.parseLong(nextToken());
    }

    public double nextDouble() throws NumberFormatException, IOException {
        return Double.parseDouble(nextToken());
    }

    boolean hasMoreTokens() throws IOException {
        while (st == null || !st.hasMoreTokens()) {
            String line = in.readLine();
            if (line == null)
                return false;
            st = new StringTokenizer(line);
        }
        return true;
    }

    class Edge implements Comparable<Edge> {
        int first;
        int second;
        int ind;

        boolean opposite = false;
        boolean visited = false;

        public Edge(int first, int second, int ind) {
            this.first = first;
            this.second = second;
            this.ind = ind;
        }

        public void setOpposite(boolean opposite) {
            this.opposite = opposite;
        }

        public void setVisited(boolean visited) {
            this.visited = visited;
        }

        @Override
        public int compareTo(Edge o) {
            return Integer.compare(this.ind, o.ind);
        }
    }

    public void solve() throws NumberFormatException, IOException {
        int cntVertexes = nextInt();
        int cntEdges = nextInt();

        LinkedList<Edge>[] graph = new LinkedList[cntVertexes];
        int[] cntAlwaysIncome = new int[cntVertexes];
        int[] cntAlwaysOutcome = new int[cntVertexes];

        for (int i = 0; i < cntVertexes; i++) {
            graph[i] = new LinkedList<Edge>();
        }

        ArrayList<Edge> edges = new ArrayList<Edge>();

        for (int i = 0; i < cntEdges; i++) {
            int a = nextInt() - 1;
            int b = nextInt() - 1;

            edges.add(new Edge(a, b, i));

            graph[a].add(edges.get(i));
            graph[b].add(edges.get(i));

            if (a == b) {
                cntAlwaysIncome[a]++;
                cntAlwaysOutcome[a]++;
            }
        }

        ArrayList<Integer> oddVertexes = new ArrayList<Integer>();

        for (int i = 0; i < cntVertexes; i++) {
            if (graph[i].size() % 2 != 0) oddVertexes.add(i);
        }

        for (int i = 0; i < oddVertexes.size() - 1; i += 2) {
            Edge edge = new Edge(oddVertexes.get(i), oddVertexes.get(i + 1), cntEdges);
            graph[oddVertexes.get(i)].add(edge);
            graph[oddVertexes.get(i + 1)].add(edge);
            edges.add(edge);
            cntEdges++;
        }

        if (cntEdges % 2 != 0) {
            Edge edge = new Edge(0, 0, cntEdges);
            graph[0].add(edge);
            edges.add(edge);
            cntEdges++;

            cntAlwaysIncome[0]++;
            cntAlwaysOutcome[0]++;
        }

        Stack<Integer> st = new Stack<Integer>();
        int startVertex = edges.get(0).first;
        st.push(startVertex);

        ArrayList<Integer> answ = new ArrayList<Integer>();

        while (!st.isEmpty()) {
            int currentVertex = st.peek();

            while (graph[currentVertex].size() > 0 && graph[currentVertex].getLast().visited)
                graph[currentVertex].pollLast();

            if (graph[currentVertex].size() == 0) {
                answ.add(currentVertex);
                st.pop();
            } else {
                Edge curEdge = graph[currentVertex].pollLast();
                curEdge.setVisited(true);

                if (curEdge.first == currentVertex) st.push(curEdge.second);
                else {
                    st.push(curEdge.first);
                    curEdge.setOpposite(true);
                }
            }

        }

        out.println(cntEdges);

        for (int i = 0; i < answ.size() - 1; i++) {
            if (i % 2 == 0) {
                out.println((answ.get(i) + 1) + " " + (answ.get(i + 1) + 1));
            } else out.println((answ.get(i + 1) + 1) + " " + (answ.get(i) + 1));
        }

//        for (Edge edge : edges) {
//            if (edge.opposite) {
//                out.println((edge.second + 1) + " " + (edge.first + 1));
//            } else {
//                out.println((edge.first + 1) + " " + (edge.second + 1));
//            }
//        }
    }

    public void close() {
        out.flush();
        out.close();
    }
}