Problem: Martha — as a professional problemsetter — proposed a problem for a world-class contest. This is the problem statement:

Tomorrow is Nadia's birthday, and Bardia (her brother) is assigned to make the balloons ready!

There are n balloons (initially empty) that are tied to a straight line on certain positions x1, x2, ..., xn. Bardia inflates the balloons from left to right. As a result, i-th balloon gets bigger and bigger until its radius reaches the pressure endurance pi or it touches another previously-inflated balloon.

<image>

While Bardia was busy with the balloons, he wondered "What will be the sum of radius of balloons after all of the balloons are inflated?". Being a nerdy type of guy, he is now thinking about the problem instead of preparing his sister's birthday. Calculate the answer to Bardia's problem so that Nadia's birthday won't be balloon-less.

Artha — Martha's student — claimed his solution got accepted. Martha (being his teacher for a long time!) knew he couldn't have solved the problem for real and thus thinks there is something wrong with the testcases. Artha isn't anyhow logical, which means there is no way for Martha to explain the wrong point in his algorithm. So, the only way is to find a testcase to prove him wrong!

Artha's pseudo-code is shown below:

<image>

You should output a small testcase for the problem such that Artha's algorithm is incorrect. The algorithm's output is considered correct if it differs from the correct value by no more than 1.

Input

Please pay attention! No input will be given to your program for this problem. So you do not have to read from the input anything.

Output

You should output the generated small testcase (which Artha's solution doesn't get it right). It should be in the following format:

  * First line must contain the only number n (1 ≤ n ≤ 500). 
  * The i-th of the next n lines should contain the description of the i-th balloon — two space-separated integers xi, pi (1 ≤ pi ≤ 106, 0 ≤ x1 < x2 < ... < xn ≤ 106). 

Examples

Note

The testcase depicted in the figure above (just showing how output should be formatted):
    
    
      
    4  
    0 9  
    6 3  
    12 7  
    17 1  
    

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
inline double sq(double a) { return a * a; }
int n, x[512], p[512];
double rs[512], radius[512];
vector<int> s;
double f(int d, double r) { return sq(d) / (4 * r); }
void relax(int i, int j) {
  const int t = s[j];
  radius[i] = min(radius[i], sq(x[i] - x[t]) / (4 * radius[t]));
}
double solve(int LIM) {
  s.clear();
  double sum = 0;
  for (int i = 0; i < (int)(n); i++) {
    radius[i] = p[i];
    for (int j = 0; j < (int)(min((int)s.size(), LIM)); j++) {
      relax(i, s.size() - 1 - j);
    }
    while (!s.empty() && radius[s.back()] <= radius[i]) {
      s.pop_back();
    }
    s.push_back(i);
    sum += radius[i];
  }
  return sum;
}
int main() {
  x[0] = 0;
  p[0] = 500000;
  rs[0] = 500000;
  x[1] = 20000;
  p[1] = 500000;
  rs[1] = f(x[1] - x[0], rs[0]);
  for (int i = 2; i < 305; i++) {
    x[i] = x[i - 1] + 1;
    while (f(x[i] - x[i - 1] + 1, rs[i - 1]) < rs[i - 1]) x[i]++;
    rs[i] = f(x[i] - x[i - 1], rs[i - 1]);
    p[i] = rs[i] + 1;
  }
  x[305] = 1000000;
  p[305] = 1000000;
  n = 306;
  printf("%d\n", n);
  for (int i = 0; i < (int)(n); i++) printf("%d %d\n", x[i], p[i]);
  return 0;
}