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>

using namespace std;

#define FOR(i, x, y) for(int i = (x); i < (y); ++i)
#define REP(i, x, y) for(int i = (x); i <= (y); ++i)
#define PB push_back
#define MP make_pair
#define PH push
#define fst first
#define snd second
typedef long long ll;
typedef unsigned long long ull;
typedef double db;
typedef long double ldb;
typedef pair<int, int> pii;

const int logp = 64;
const int logx = 32;

int tot = 0;

class Array{
public:
	int p;
	inline Array(int len){ p = tot; tot += len; }
	inline int operator [](const int x)const{
		return p + x;
	}
}a(1), b(1), c(1), pw(logp), s(logx), t(logx), r(logp);

inline void comp(int x, int y, int z){ printf("< %d %d %d\n", y, z, x); }
inline void add(int x, int y, int z){ printf("+ %d %d %d\n", y, z, x); }
inline void rev(int x){assert(x); comp(x, x, pw[0]); /* x = (x < 1)*/ }

inline void addPw(int x, int y, int z){
	Array tmp(2);
	int p = 0, q = 1;
	add(tmp[p], tmp[p], y); // tmp[q] = 0;
	FOR(i, 0, z){
		comp(tmp[q], tmp[q], tmp[q]); // tmp[q] = 0;
		add(tmp[q], tmp[p], tmp[p]); // tmp[q] = 2tmp[p];
		swap(p, q);
	}
	add(x, x, tmp[p]); // x[0] += tmp[p];
	return;
}

inline void toBin(Array &dec, Array &bin){
	Array tmp(2);
	int x = 0, y = 1;
	for(int i = logx - 1; i >= 0; --i){
		comp(tmp[x], tmp[x], tmp[x]); // tmp[x] = 0;
		add(tmp[x], tmp[y], pw[i]); // tmp[x] = tmp[y] + pw[i];
		comp(bin[i], dec[0], tmp[x]); // bin[i] = (dec < tmp[x]) ? 1 : 0;
		rev(bin[i]); // bin[i] = !bin[i];
		addPw(tmp[y], bin[i], i); // tmp[y] += (bin[i] * 2^i)
	}
	return;
}

int main(){
//	freopen("e.out", "w", stdout);
	puts("9664");
	comp(pw[0], pw[0], a[0]); // pw[0] = 1;
	FOR(i, 1, logp)
		add(pw[i], pw[i - 1], pw[i - 1]); // pw[i] = pw[i - 1] * 2
	toBin(a, s);
	toBin(b, t);
	FOR(i, 0, logx) FOR(j, 0, logx){
		Array res(0);
		add(res[0], s[i], t[j]); // res[0] = s[i] + p[j]
		comp(res[0], pw[0], res[0]); // res[0] = (res[0] == 2)
		add(r[i + j], r[i + j], res[0]); // r[i + j] += res[0]
	}
	FOR(i, 0, logp)
		addPw(c[0], r[i], i); // c[0] += r[i] * 2^(i+j) 
	return 0;
}