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 JAVA):

Solution:
import java.util.ArrayList;
import java.util.Scanner;


public class Main {

    static Scanner sc = new Scanner(System.in);
    static int N;
    static ArrayList<Integer> s = new ArrayList<Integer>();
    static ArrayList<Double> r = new ArrayList<Double>();
    static ArrayList<Integer> x = new ArrayList<Integer>();
    static ArrayList<Integer> p = new ArrayList<Integer>();

    static double sq(double v) {
        return v * v;
    }

    static void relax(int i, int j) {
        r.set(i, Math.min(r.get(i), sq(x.get(i) - x.get(j)) / 4 / r.get(s.get(j))));
    }

    static double solve(int n) {
        s.clear();
        r.clear();
        double ans = 0;
        for (int i = 0; i < x.size(); ++i) {
            r.add(1.0 * p.get(i));
            for (int j = 0; j < Math.min(s.size(), n); ++j) {
                relax(i, s.size() - 1 - j);
            }
            while (!s.isEmpty() && r.get(s.get(s.size() - 1)) <= r.get(i)) {
                s.remove(s.size() - 1);
            }
            s.add(i);
            ans += r.get(i);
        }
        return ans;
    }

    public static void main(String[] args) {
        x.add(0);
        p.add(1000000);
        for (int i = 1; i < 499; ++i) {
            double nx = 0;
            int np = 500 - i;
            p.add(np);
            for (int j = 0; j < i; ++j) {
                nx = Math.max(nx, x.get(j) + 2 * Math.sqrt(p.get(i) * np));
            }
            x.add((int) Math.ceil(nx));
        }
        p.add(1000000);
        double nx = 0;
        for (int i = 1; i < x.size(); ++i) {
            nx = Math.max(nx, x.get(i) + 2 * Math.sqrt(p.get(i) * 1000000));
        }
        x.add((int) Math.ceil(nx));

        System.out.println(x.size());
        for (int i = 0; i < x.size(); ++i) {
            System.out.println(x.get(i) + " " + p.get(i));
        }

//      System.out.println(solve(500));
//      System.out.println(solve(300));
    }

}