Problem: This is an output-only problem. You shouldn't read anything from the input.

In short, your task is to simulate multiplication by using only comparison (x < y) and addition (x + y). There is no input in this problem, you just print a sequence of operations.

Imagine that there is a big array a[0], a[1], ..., a[N-1] of length N. The first two values are initially two non-negative integers A and B (which are unknown to you), the other elements are zeros. Your goal is to get the product A \cdot B in a[2] at the end.

You are allowed operations of two types, with the following format (where 0 \leq i, j, k < N):

* `+ i j k` — applies operation a[k] = a[i] + a[j].
* `< i j k` — applies operation a[k] = a[i] < a[j]. That is, if a[i] < a[j] then a[k] becomes 1, otherwise it becomes 0.



You can use at most Q operations. Elements of a can't exceed V. Indices (i, j, k) don't have to be distinct. It's allowed to modify any element of the array (including the first two). The actual checker simulates the process for multiple pairs (A, B) within a single test. Each time, the checker chooses values A and B, creates the array a = [A, B, 0, 0, \ldots, 0], applies all your operations and ensures that a[2] = A \cdot B.

Constraints

* 0 \leq A, B \leq 10^9
* N = Q = 200\,000
* V = 10^{19} = 10\,000\,000\,000\,000\,000\,000

Input

The Standard Input is empty.

Output

In the first line, print the number of operations. Each operation should then be printed in a single line of format `+ i j k` or `< i j k`.

Example

Input




Output

Solution (in CPP):

Solution:
#include<cstdio>
#include<vector>
int tot=3;
int add(int i,int j){
	int k=tot++;
	printf("+ %d %d %d\n",i,j,k);
	return k;
}
int cmp(int i,int j){
	int k=tot++;
	printf("< %d %d %d\n",i,j,k);
	return k;
}
int pw[33];
std::vector<int>bin(int x){
	std::vector<int>res;
	for(int i=30;i--;)res.push_back(0);
	int sum=2;
	x=add(x,*pw);
	for(int i=30;i--;){
		int tmp=res[i]=cmp(add(sum,pw[i]),x);
		for(int j=i;j--;)tmp=add(tmp,tmp);
		sum=add(sum,tmp);
	}
	return res;
}
int mul01(int x,int y){
	return cmp(cmp(x,*pw),y);
}
int main(){
	puts("3900");
	pw[0]=cmp(2,add(0,1));
	for(int i=1;i<30;i++)pw[i]=add(pw[i-1],pw[i-1]);
	std::vector<int>A=bin(0),B=bin(1),C;
	for(int i=0;i<A.size();i++){
		for(int j=0;j<B.size();j++){
			while(i+j>=C.size())C.push_back(2);
			C[i+j]=add(C[i+j],mul01(A[i],B[j]));
		}
	}
	for(int i=C.size()-1;i--;)C[i]=add(C[i],add(C[i+1],C[i+1]));
	printf("+ %d %d %d\n",2,C[0],2);
}