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.util.List;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.ArrayList;
import java.io.BufferedReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.io.InputStream;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 */
public class Main {
	public static void main(String[] args) {
		InputStream inputStream = System.in;
		OutputStream outputStream = System.out;
		FastScanner in = new FastScanner(inputStream);
		PrintWriter out = new PrintWriter(outputStream);
		TaskC solver = new TaskC();
		solver.solve(1, in, out);
		out.close();
	}
}

class TaskC {
	public void solve(int testNumber, FastScanner in, PrintWriter out) {
		n = in.nextInt();
		int m = in.nextInt();
		firstEdge = new int[n];
		Arrays.fill(firstEdge, -1);
		lastEdge = new int[n];
		int[] deg = new int[n];
		for (int i = 0; i < m; i++) {
			int a = in.nextInt() - 1;
			int b = in.nextInt() - 1;
			addEdge(a, b);
			++deg[a];
			++deg[b];
			if (a != b) {
				addEdge(b, a);
			} else {
				++numEdges; // a fake non-existent edge to make the "e^1" trick work
			}
		}
		List<Integer> odd = new ArrayList<>();
		for (int i = 0; i < n; i++) {
			if (deg[i] % 2 == 1) {
				odd.add(i);
			}
		}
		for (int i = 0; i < odd.size(); i += 2) {
			int a = odd.get(i);
			int b = odd.get(i + 1);
			addEdge(a, b);
			addEdge(b, a);
			++deg[a];
			++deg[b];
		}
		if (odd.size() % 2 == 1) {
			throw new AssertionError();
		}

		for (int i = 0; i < n; i++) {
			lastEdge[i] = firstEdge[i];
		}
		dfsEulerNonRecursive(0);

		int k = eulerTour.size();
		eulerTour.remove(eulerTour.size() - 1);
		--k;
		List<String> ans = new ArrayList<>();
		for (int i = 0; i < k - 1; i += 2) {
			int v = eulerTour.get(i);
			int l = eulerTour.get(i == 0 ? k - 1 : i - 1);
			int r = eulerTour.get(i == k - 1 ? 0 : i + 1);
			ans.add((v + 1) + " " + (l + 1));
			ans.add((v + 1) + " " + (r + 1));
		}
		if (k % 2 == 1) {
			int v = eulerTour.get(k - 1);
			ans.add((v + 1) + " " + (v + 1));
			int p = eulerTour.get((k - 2 + k) % k);
			ans.add((v + 1) + " " + (p + 1));
		}
		out.println(ans.size());
		for (String s : ans) {
			out.println(s);
		}
	}


	int n;
	final int MAX_EDGES = 1000000;
	int[] firstEdge;
	int[] lastEdge;
	int[] nextEdge = new int[MAX_EDGES];
	int[] edgeDst = new int[MAX_EDGES];
	int numEdges;
	boolean[] deadEdge = new boolean[MAX_EDGES];
	List<Integer> eulerTour = new ArrayList<>();

	private void addEdge(int a, int b) {
		int e = numEdges++;
		nextEdge[e] = firstEdge[a];
		firstEdge[a] = e;
		edgeDst[e] = b;
	}

	private void dfsEulerNonRecursive(int v) {
		int[] stack = new int[MAX_EDGES];
		int sp = 0;
		stack[sp++] = v;
		while (sp > 0) {
			v = stack[sp - 1];
			while (true) {
				int e = lastEdge[v];
				if (e < 0) {
					--sp;
					eulerTour.add(v);
					break;
				}
				lastEdge[v] = nextEdge[lastEdge[v]];
				if (deadEdge[e]) {
					continue;
				}
				deadEdge[e] = true;
				deadEdge[e ^ 1] = true;
				stack[sp++] = edgeDst[e];
				break;
			}
		}
	}
}

class FastScanner {

	private BufferedReader in;
	private StringTokenizer st;

	public FastScanner(InputStream stream) {
		in = new BufferedReader(new InputStreamReader(stream));
	}

	public String next() {
		while (st == null || !st.hasMoreTokens()) {
			try {
				String rl = in.readLine();
				if (rl == null) {
					return null;
				}
				st = new StringTokenizer(rl);
			} catch (IOException e) {
				throw new RuntimeException(e);
			}
		}
		return st.nextToken();
	}

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

}