Problem: Kavi has 2n points lying on the OX axis, i-th of which is located at x = i.

Kavi considers all ways to split these 2n points into n pairs. Among those, he is interested in good pairings, which are defined as follows:

Consider n segments with ends at the points in correspondent pairs. The pairing is called good, if for every 2 different segments A and B among those, at least one of the following holds:

  * One of the segments A and B lies completely inside the other. 
  * A and B have the same length. 



Consider the following example:

<image>

A is a good pairing since the red segment lies completely inside the blue segment.

B is a good pairing since the red and the blue segment have the same length.

C is not a good pairing since none of the red or blue segments lies inside the other, neither do they have the same size.

Kavi is interested in the number of good pairings, so he wants you to find it for him. As the result can be large, find this number modulo 998244353.

Two pairings are called different, if some two points are in one pair in some pairing and in different pairs in another.

Input

The single line of the input contains a single integer n (1≤ n ≤ 10^6).

Output

Print the number of good pairings modulo 998244353.

Examples

Input


1


Output


1

Input


2


Output


3

Input


3


Output


6

Input


100


Output


688750769

Note

The good pairings for the second example are: 

<image>

In the third example, the good pairings are: 

<image>

Solution (in JAVA):

Solution:
import java.util.*;
import java.io.*;

public class D
{

	static FastIO f;
	static boolean v[];
	static int sp[];
	static long pr = 998244353L;

	public static void main(String args[]) throws IOException
	{
		f = new FastIO();

		int n = f.ni();
		v = new boolean[n+1];
		sp = new int[n+1];

		sieve();

		int i;
		long dp[] = new long[n+1], sum = 0;

		dp[1] = 1;

		for(i = 2; i <= n; i++)
		{
			sum += dp[i-1];
			dp[i] = sum;

			dp[i] = (dp[i] + count(i))%pr;;
		}

		// f.err(Arrays.toString(dp) + "\n");

		f.out(dp[n] + "\n");

		f.flush();
	}

	public static long count(int i) throws IOException
	{
		// f.err(i + " = ");

		long ans = 1, c = 1;
		int p = sp[i];

		for(i = i/p; i > 1; i = i/p)
		{
			if(sp[i] == p)
				c++;
			else
			{
				ans = (ans * (c+1))%pr;
				p = sp[i];
				c = 1;
			}
		}

		ans = (ans * (c+1))%pr;

		// f.err(ans + "\n");

		return ans;
	}

	public static void sieve()
	{
		long i, j, n = sp.length;

		for(i = 2; i < n; i += 2)
			sp[(int)i] = 2;
		for(i = 3; i < n; i += 2)
		{
			if(!v[(int)i])
			{
				sp[(int)i] = (int)i;
				for(j = i; j*i < n; j += 2)
				{
					if(!v[(int)(j*i)])
					{
						v[(int)(j*i)] = true;
						sp[(int)(j*i)] = (int)i;
					}
				}
			}
		}
	}

	public static class FastIO
	{
		BufferedReader br;
		BufferedWriter bw, be;
		StringTokenizer st;

		public FastIO()
		{
			br = new BufferedReader(new InputStreamReader(System.in));
			bw = new BufferedWriter(new OutputStreamWriter(System.out));
			be = new BufferedWriter(new OutputStreamWriter(System.err));
			st = new StringTokenizer("");
		}

		private void read() throws IOException
		{
			st = new StringTokenizer(br.readLine());
		}

		public String ns() throws IOException
		{
			while(!st.hasMoreTokens())
				read();
			return st.nextToken();
		}

		public int ni() throws IOException
		{
			return Integer.parseInt(ns());
		}

		public long nl() throws IOException
		{
			return Long.parseLong(ns());
		}

		public float nf() throws IOException
		{
			return Float.parseFloat(ns());
		}

		public double nd() throws IOException
		{
			return Double.parseDouble(ns());
		}

		public char nc() throws IOException
		{
			return ns().charAt(0);
		}

		public int[] nia(int n) throws IOException
		{
			int[] a = new int[n];
			for(int i = 0; i < n; i++)
				a[i] = ni();

			return a;
		}

		public long[] nla(int n) throws IOException
		{
			long[] a = new long[n];
			for(int i = 0; i < n; i++)
				a[i] = nl();

			return a;
		}

		public char[] nca() throws IOException
		{
			return ns().toCharArray();
		}

		public void out(String s) throws IOException
		{
			bw.write(s);
		}

		public void flush() throws IOException
		{
			bw.flush();
			be.flush();
		}

		public void err(String s) throws IOException
		{
			be.write(s);
		}
	}
}