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:
#define DIN freopen("input.txt","r",stdin);
#define DOUT freopen("output.txt","w",stdout);
#include <bits/stdc++.h>
#include <cstdio>
#define mem(a,b) memset(a,b,sizeof(a))
#define REP(i,a,b) for(int i=(a);i<=(int)(b);i++)
#define REP_(i,a,b) for(int i=(a);i>=(b);i--)
#define pb push_back
using namespace std;
typedef long long LL;
typedef std::vector<int> VI;
typedef std::pair<int,int> PI;
int read()
{
    int x=0,flag=1; char c=getchar();
    while((c>'9' || c<'0') && c!='-') c=getchar();
    if(c=='-') flag=0,c=getchar();
    while(c<='9' && c>='0') {x=(x<<3)+(x<<1)+c-'0';c=getchar();}
    return flag?x:-x;
}

int n=97;

void print(char c,int i,int j,int k)
{
    printf("%c %d %d %d\n",c,i,j,k);
}

void a(int i) {print('+',i,i,i+1);}

void f(int x,int i,int j)
{
    for(int q=0;q<30;q++)
    {
        a(j+q-1);
        print('+',j+q,n,j+q);
        for(int s=j+q;s<j+29;s++)
            a(s);
        print('<',j+29,x,i+q);
        a(j+q-1);
        print('+',j+q,i+q,j+q);
    }
}

int main()
{
    puts("3933");
    print('+',0,1,n);
    print('<',2,n,n);
    print('+',0,n,3);
    print('+',1,n,4);
    f(3,5,36); f(4,36,67);
    for(int i=0;i<59;i++)
    {
        print('+',2,2,2);
        for(int j=0;j<=i;j++)
            if(i-30<j && j<30)
            {
                print('+',5+i-j,36+j,98);
                print('<',n,98,99);
                print('+',2,99,2);
            }
    }

    return 0;
}