<filename>data/studio21_generated/test/interview/2215/solutions.json
["n, m = map(int, input().split())\nans = [\"0\"] * n\nfor i in range(1, n, 2):\n    ans[i] = \"1\"\nprint(\"\".join(ans))", "n, d = map(int, input().split())\nfor i in range(n):\n    if (i % 2 == 0): print(0, end = '')\n    else: print(1, end = '')", "n, m = [int(x) for x in input().split()]\nprint(''.join(str(i % 2) for i in range(n)))\n", "n, m = [int(x) for x in input().strip().split()]\nprint(''.join('01' for _ in range(n//2 + 1))[:n])\n", "n,m=map(int,input().strip().split())\nfor i in range(m):\n\tr,s=map(int,input().strip().split())\ns=\"\"\nfor i in range(n):\n\tif i%2==0:\n\t\ts=s+\"0\"\n\telse:\n\t\ts=s+\"1\"\nprint (s)", "inp = [int(i)for i in input().split()]\nn, m = inp\n\nfor i in range(m):\n    a = input()\n\nprint(('01'*(n//2+1))[:n])", "n,m=list(map(int,input().split()))\na=1\nfor i in range(n):\n\tif a==1:\n\t\tprint('0',end='')\n\telse:\n\t\tprint('1',end='')\n\ta*=-1", "n,d = map(int,input().split())\narr = []\nfor i in range(d):\n\tarr.append(list(map(int,input().split())))\ns = \"\"\nfor i in range(n):\n\tif i % 2 == 0:\n\t\ts = s + \"0\"\n\telse:\n\t\ts = s + \"1\"\nprint(s)", "n,m=map(int,input().split())\nfor i in range(n):\n    print(i%2,end='')", "n, m  = [int(el) for el in input().split()]\nfor i in range(m):\n    l, r = [int(el) for el in input().split()]\ns = '01' * (n//2)\nif n % 2 == 1:\n    s += '0'\nprint(s)\n", "n,m = map(int,input().split())\nfor i in range(m):\n    input()\nprint(n // 2 * \"01\" + \"0\" * (n % 2))", "n,m=input().split()\nn=int(n)\nm=int(m)\nfor i in range(m):\n    a,b=input().split()\nfor i in range(n):\n    print(i%2,end='')", "n,m = map(int, input().split())\nfor i in range(m):\n    s = input()\nans = []\nfor i in range(n):\n    if i % 2 == 0:\n        ans.append('0')\n    else:\n        ans.append('1')\nprint(\"\".join(ans))", "n, d = list(map(int, input().split()))\n\nprint(''.join(str(i % 2) for i in range(n)))\n", "import sys\nimport os\n\ndef sonyaAndExhibition(n, m, visitors):\n    return ('01' * n)[:n]\n\ndef main():\n    n, m = (int(x) for x in input().split())\n    visitors = []\n    for i in range(m):\n        l, r = (int(x) for x in input().split())\n        visitors.append((l, r))\n    print(sonyaAndExhibition(n, m, visitors))\n\ndef __starting_point():\n    main()\n__starting_point()", "n,m = map(int,input().split())\nfor i in range(m):\n    r,l = map(int, input().split())\nfor i in range(n):\n    if(i%2 == 0):\n        print(\"0\", end = \"\")\n    else:\n        print(\"1\", end = \"\")\n", "n, m = map(int, input().split(' '))\nl = []\nr = []\nfor i in range(m):\n    l_i, r_i = map(int, input().split(' '))\n    l.append(l_i)\n    r.append(r_i)\ns = ''\nfor i in range(n):\n    if i % 2==0:\n        s += '0'\n    else:\n        s += '1'\nprint(s)", "from sys import stdin, stdout\nfrom collections import deque\n\nn, m = map(int, stdin.readline().split())\nans = 0\n\nfor i in range(n):\n    if i & 1:\n        stdout.write('0')\n    else:\n        stdout.write('1')"]