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.*;
import java.io.*;
public class DataCenterDrama
{
	public static ArrayList<Edge>[] adj;
	public static Edge[] edges;
	public static boolean[] visited;
	public static int[] degree;
	public static int root;
	public static int type;
	public static boolean[] need;
	public static int[] copy;
	
	public static void main(String[] args) throws Exception
	{
		FastScanner in = new FastScanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		
		int n = in.nextInt();
		int m = in.nextInt();
		
		adj = new ArrayList[n];
		for(int x = 0; x < n; x++)
		{
			adj[x] = new ArrayList<Edge>();
		}
		
		edges = new Edge[m];
		degree = new int[n];
		for(int y = 0; y < m; y++)
		{
			int a = in.nextInt() - 1;
			int b = in.nextInt() - 1;
			
			edges[y] = new Edge(a, b, y);
			
			adj[a].add(new Edge(a, b, y));
			adj[b].add(new Edge(b, a, y));
			
			degree[a] ^= 1;
			degree[b] ^= 2;
		}
		
		root = 0;
		for(int z = 0; z < degree.length; z++)
		{
			if(degree[z] == 1 || degree[z] == 2)
			{
				root = z;
			}
		}
		
		visited = new boolean[n];
		need = new boolean[n];
		copy = new int[n];
		
		dfs(root, -1);
		
		int[] counts = new int[3];
		for(int a = 0; a < degree.length; a++)
		{
			if(Integer.bitCount(degree[a]) == 1)
			{
				counts[degree[a]]++;
			}
		}
		
		type = 1;
		if(counts[1] < counts[2])
		{
			type = 2;
		}
		
		int count = Math.abs(counts[1] - counts[2]) / 2;
		
		for(int i = 0; i < degree.length; i++)
		{
			if(degree[i] == type && count > 0)
			{
				need[i] = true;
				count--;
			}
		}
		
		copy = Arrays.copyOf(degree, degree.length);
		
		Arrays.fill(visited, false);
		dfs(root, -1);
		
		ArrayList<Integer>[] odds = new ArrayList[3];
		odds[1] = new ArrayList<Integer>();
		odds[2] = new ArrayList<Integer>();
		ArrayList<Edge> extra = new ArrayList<Edge>();
		for(int b = 0; b < degree.length; b++)
		{
			if(Integer.bitCount(degree[b]) == 1)
			{
				odds[degree[b]].add(b);
			}
			else if(degree[b] == 3)
			{
				extra.add(new Edge(b, b, -1));
			}
		}
		
		int val = Math.min(odds[1].size(), odds[2].size());
		for(int c = 0; c < val; c++)
		{
			extra.add(new Edge(odds[1].get(c), odds[2].get(c), -1));
		}
		
		if(odds[1].size() > odds[2].size())
		{
			extra.add(new Edge(odds[1].get(val), odds[1].get(val + 1), -1));
			extra.add(new Edge(odds[1].get(val + 1), odds[1].get(val + 1), -1));
		}
		else if(odds[2].size() > odds[1].size())
		{
			extra.add(new Edge(odds[2].get(val), odds[2].get(val + 1), -1));
			extra.add(new Edge(odds[2].get(val), odds[2].get(val), -1));
		}
		
		out.println(edges.length + extra.size());
		for(Edge d : edges)
		{
			if(!d.flipped)
			{
				out.println((d.start + 1) + " " + (d.end + 1));
			}
			else
			{
				out.println((d.end + 1) + " " + (d.start + 1));
			}
		}
		
		for(Edge e : extra)
		{
			out.println((e.start + 1) + " " + (e.end + 1));
		}
		
		out.close();
	}
	
	public static boolean dfs(int node, int id)
	{
		visited[node] = true;
		
		for(Edge e : adj[node])
		{
			if(!visited[e.end])
			{
				if(dfs(e.end, e.id))
				{
					degree[node] ^= 3;
				}
			}
		}
		
		if(node != root && (degree[node] == 3 || (need[node] && degree[node] == type) || (!need[node] && degree[node] != copy[node])))
		{
			degree[node] ^= 3;
			edges[id].flip();
			
			return true;
		}
		else
		{
			return false;
		}
	}
	
	static class Edge
	{
		int start;
		int end;
		int id;
		boolean flipped;
		
		public Edge(int s, int e, int i)
		{
			start = s;
			end = e;
			id = i;
		}
		
		public void flip()
		{
			flipped = !flipped;
		}
	}
	
	static class FastScanner
	{
		BufferedReader br;
		StringTokenizer st;
		
		public FastScanner(InputStream input)
		{
			br = new BufferedReader(new InputStreamReader(input));
			st = new StringTokenizer("");
		}
		
		public String next() throws IOException
		{
			if(st.hasMoreTokens())
			{
				return st.nextToken();
			}
			else
			{
				st = new StringTokenizer(br.readLine());
				return next();
			}
		}
		
		public int nextInt() throws IOException
		{
			return Integer.parseInt(next());
		}
	}
}