Sonya decided to organize an exhibition of flowers. Since the girl likes only roses and lilies, she decided that only these two kinds of flowers should be in this exhibition.

There are $n$ flowers in a row in the exhibition. Sonya can put either a rose or a lily in the $i$-th position. Thus each of $n$ positions should contain exactly one flower: a rose or a lily.

She knows that exactly $m$ people will visit this exhibition. The $i$-th visitor will visit all flowers from $l_i$ to $r_i$ inclusive. The girl knows that each segment has its own beauty that is equal to the product of the number of roses and the number of lilies.

Sonya wants her exhibition to be liked by a lot of people. That is why she wants to put the flowers in such way that the sum of beauties of all segments would be maximum possible.


-----Input-----

The first line contains two integers $n$ and $m$ ($1\leq n, m\leq 10^3$) — the number of flowers and visitors respectively.

Each of the next $m$ lines contains two integers $l_i$ and $r_i$ ($1\leq l_i\leq r_i\leq n$), meaning that $i$-th visitor will visit all flowers from $l_i$ to $r_i$ inclusive.


-----Output-----

Print the string of $n$ characters. The $i$-th symbol should be «0» if you want to put a rose in the $i$-th position, otherwise «1» if you want to put a lily.

If there are multiple answers, print any.


-----Examples-----
Input
5 3
1 3
2 4
2 5

Output
01100
Input
6 3
5 6
1 4
4 6

Output
110010


-----Note-----

In the first example, Sonya can put roses in the first, fourth, and fifth positions, and lilies in the second and third positions;

  in the segment $[1\ldots3]$, there are one rose and two lilies, so the beauty is equal to $1\cdot 2=2$;  in the segment $[2\ldots4]$, there are one rose and two lilies, so the beauty is equal to $1\cdot 2=2$;  in the segment $[2\ldots5]$, there are two roses and two lilies, so the beauty is equal to $2\cdot 2=4$. 

The total beauty is equal to $2+2+4=8$.

In the second example, Sonya can put roses in the third, fourth, and sixth positions, and lilies in the first, second, and fifth positions;

  in the segment $[5\ldots6]$, there are one rose and one lily, so the beauty is equal to $1\cdot 1=1$;  in the segment $[1\ldots4]$, there are two roses and two lilies, so the beauty is equal to $2\cdot 2=4$;  in the segment $[4\ldots6]$, there are two roses and one lily, so the beauty is equal to $2\cdot 1=2$. 

The total beauty is equal to $1+4+2=7$.

Difficulty: interview

Starter code:

Solutions:
n, m = map(int, input().split())
ans = ["0"] * n
for i in range(1, n, 2):
    ans[i] = "1"
print("".join(ans))

n, d = map(int, input().split())
for i in range(n):
    if (i % 2 == 0): print(0, end = '')
    else: print(1, end = '')

n, m = [int(x) for x in input().split()]
print(''.join(str(i % 2) for i in range(n)))


n, m = [int(x) for x in input().strip().split()]
print(''.join('01' for _ in range(n//2 + 1))[:n])


n,m=map(int,input().strip().split())
for i in range(m):
	r,s=map(int,input().strip().split())
s=""
for i in range(n):
	if i%2==0:
		s=s+"0"
	else:
		s=s+"1"
print (s)

inp = [int(i)for i in input().split()]
n, m = inp

for i in range(m):
    a = input()

print(('01'*(n//2+1))[:n])

n,m=list(map(int,input().split()))
a=1
for i in range(n):
	if a==1:
		print('0',end='')
	else:
		print('1',end='')
	a*=-1

n,d = map(int,input().split())
arr = []
for i in range(d):
	arr.append(list(map(int,input().split())))
s = ""
for i in range(n):
	if i % 2 == 0:
		s = s + "0"
	else:
		s = s + "1"
print(s)

n,m=map(int,input().split())
for i in range(n):
    print(i%2,end='')

n, m  = [int(el) for el in input().split()]
for i in range(m):
    l, r = [int(el) for el in input().split()]
s = '01' * (n//2)
if n % 2 == 1:
    s += '0'
print(s)


n,m = map(int,input().split())
for i in range(m):
    input()
print(n // 2 * "01" + "0" * (n % 2))

n,m=input().split()
n=int(n)
m=int(m)
for i in range(m):
    a,b=input().split()
for i in range(n):
    print(i%2,end='')

n,m = map(int, input().split())
for i in range(m):
    s = input()
ans = []
for i in range(n):
    if i % 2 == 0:
        ans.append('0')
    else:
        ans.append('1')
print("".join(ans))

n, d = list(map(int, input().split()))

print(''.join(str(i % 2) for i in range(n)))


import sys
import os

def sonyaAndExhibition(n, m, visitors):
    return ('01' * n)[:n]

def main():
    n, m = (int(x) for x in input().split())
    visitors = []
    for i in range(m):
        l, r = (int(x) for x in input().split())
        visitors.append((l, r))
    print(sonyaAndExhibition(n, m, visitors))

def __starting_point():
    main()
__starting_point()

n,m = map(int,input().split())
for i in range(m):
    r,l = map(int, input().split())
for i in range(n):
    if(i%2 == 0):
        print("0", end = "")
    else:
        print("1", end = "")


n, m = map(int, input().split(' '))
l = []
r = []
for i in range(m):
    l_i, r_i = map(int, input().split(' '))
    l.append(l_i)
    r.append(r_i)
s = ''
for i in range(n):
    if i % 2==0:
        s += '0'
    else:
        s += '1'
print(s)

from sys import stdin, stdout
from collections import deque

n, m = map(int, stdin.readline().split())
ans = 0

for i in range(n):
    if i & 1:
        stdout.write('0')
    else:
        stdout.write('1')