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:
//package codeforces;

import java.io.BufferedReader;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.StringTokenizer;

public class C implements Closeable {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    PrintWriter writer = new PrintWriter(System.out);
    StringTokenizer stringTokenizer;

    C() throws IOException {
//        reader = new BufferedReader(new FileReader("input.txt"));
//        writer = new PrintWriter(new FileWriter("bridges.out"));
    }

    String next() throws IOException {
        while (stringTokenizer == null || !stringTokenizer.hasMoreTokens()) {
            stringTokenizer = new StringTokenizer(reader.readLine());
        }
        return stringTokenizer.nextToken();
    }

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

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

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

    final int MOD = 1000 * 1000 + 3;

    int sum(int a, int b) {
        a += b;
        return a >= MOD ? a - MOD : a;
    }

    int product(int a, int b) {
        return (int) (1l * a * b % MOD);
    }

    int pow(int x, int k) {
        int result = 1;
        while (k > 0) {
            if (k % 2 == 1) {
                result = product(result, x);
            }
            x = product(x, x);
            k /= 2;
        }
        return result;
    }

    int inv(int x) {
        return pow(x, MOD - 2);
    }

    void solve() throws IOException {
        final int n = nextInt();
        final int m = nextInt();
        List<List<Integer>> gr = new ArrayList<>();
        for(int i = 0; i <= n; i++) {
            gr.add(new ArrayList<Integer>());
        }
        int[] c = new int[n + 1];
        List<int[]> edges = new ArrayList<>(2 * m);
        for(int i = 0; i < m; i++) {
            int u = nextInt(), v = nextInt();
            gr.get(u).add(edges.size());
            if(v != u) {
                gr.get(v).add(edges.size());
                c[u]++;
                c[v]++;
            }
            edges.add(new int[]{u, v});
        }
        for(int i = 0; i < n; i++) {
            if(c[i] % 2 == 1) {
                for(int j = i + 1; j <= n; j++) {
                    if(c[j] % 2 == 1) {
                        gr.get(i).add(edges.size());
                        gr.get(j).add(edges.size());
                        edges.add(new int[]{i, j});
                        c[i]++;
                        c[j]++;
                        
break;
                    }
                }
            }
        }
        final int[][] e = edges.toArray(new int[edges.size()][]);
        final boolean[] used = new boolean[e.length];
        final int[][] g = new int[n + 1][];
        for(int i = 1; i <= n; i++) {
            g[i] = new int[gr.get(i).size()];
            for(int j = 0; j < g[i].length; j++) {
                g[i][j] = gr.get(i).get(j);
            }
        }
        class Utils {
            List<Integer> eulerCycle = new ArrayList<>(2 * m);
            int[] ci = new int[n + 1];

            void findEulerCycle(int u) {
                while(ci[u] < g[u].length) {
                    int ei = g[u][ci[u]++];
                    if(used[ei]) {
                        continue;
                    }
                    used[ei] = true;
                    int i = 0;
                    if(e[ei][i] != u) i++;
                    findEulerCycle(e[ei][1 - i]);
                }
                eulerCycle.add(u);
            }
        }
        Utils utils = new Utils();
        utils.findEulerCycle(1);
        final List<Integer> cycle = utils.eulerCycle;
        if(cycle.size() % 2 == 0) {
            cycle.add(1);
        }
        writer.println(cycle.size() - 1);
        for(int i = 1; i < cycle.size(); i++) {
            int u = cycle.get(i - i % 2);
            int v = cycle.get(i - 1 + i % 2);
            writer.println(u + " " + v);
        }
    }

    public static void main(String[] args) throws IOException {
        try(C c = new C()) {
            c.solve();
        }
    }

    @Override
    public void close() throws IOException {
        reader.close();
        writer.close();
    }
}