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 <bits/stdc++.h>
#define maxn 100086

using namespace std;

int cnt = 2;
int bit[maxn];
int a[maxn], b[maxn];

int main(){
	//freopen("out.txt", "w", stdout);
	puts("6597");
	printf("+ %d %d %d\n", 0, 1, 3);
	printf("+ %d %d %d\n", 3, 3, 3);
	printf("< %d %d %d\n", 0, 3, 3);
	bit[0] = ++cnt;
	for(int i = 1;i < 64;i++) printf("+ %d %d %d\n", bit[i - 1], bit[i - 1], bit[i] = ++cnt);
	int cur = ++cnt, tmp = ++cnt;
	
	printf("+ %d %d %d\n", 0, bit[0], 0);
	for(int i = 31;~i;i--){
		printf("+ %d %d %d\n", cur, bit[i], tmp);
		printf("< %d %d %d\n", tmp, 0, a[i] = ++cnt);
		printf("< %d %d %d\n", tmp, tmp, tmp);
		printf("+ %d %d %d\n", tmp, a[i], tmp);
		for(int j = 1;j <= i;j++) printf("+ %d %d %d\n", tmp, tmp, tmp);
		printf("+ %d %d %d\n", cur, tmp, cur);
	}
	
	printf("+ %d %d %d\n", 1, bit[0], 1);
	printf("< %d %d %d\n", cur, cur, cur);
	for(int i = 31;~i;i--){
		printf("+ %d %d %d\n", cur, bit[i], tmp);
		printf("< %d %d %d\n", tmp, 1, b[i] = ++cnt);
		printf("< %d %d %d\n", tmp, tmp, tmp);
		printf("+ %d %d %d\n", tmp, b[i], tmp);
		for(int j = 1;j <= i;j++) printf("+ %d %d %d\n", tmp, tmp, tmp);
		printf("+ %d %d %d\n", cur, tmp, cur);
	}
	
	
	for(int i = 0;i < 64;i++){
		printf("< %d %d %d\n", cur, cur, cur);
		for(int j = 0;j <= i;j++){
			if(j >= 0 && j <= 31 && i - j >= 0 && i - j <= 31){//debug:忘记判越界 
				printf("+ %d %d %d\n", a[j], b[i - j], tmp);
				printf("< %d %d %d\n", bit[0], tmp, tmp);
				printf("+ %d %d %d\n", cur, tmp, cur);
			}
		}
		for(int j = 1;j <= i;j++) printf("+ %d %d %d\n", cur, cur, cur);
		printf("+ %d %d %d\n", 2, cur, 2);
	}
}