Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;// n 個の都市 m 本の道路
	cin >> n >> m;
	int a, b;
    vector<int>	c (n);
    for (int i = 0; i < m; i++) {
    	cin >> a >> b ;
        c.at(a - 1)++;
        c.at(b - 1)++;
    }
    for (int j = 0; j < n; j++) {
    	cout << c.at(j) << endl;
    }
}

Compiler output:
a.cc:17:2: error: stray '#' in program
   17 | }#include <bits/stdc++.h>
      |  ^
a.cc:33:2: error: stray '#' in program
   33 | }#include <bits/stdc++.h>
      |  ^
a.cc:49:2: error: stray '#' in program
   49 | }#include <bits/stdc++.h>
      |  ^
a.cc:65:2: error: stray '#' in program
   65 | }#include <bits/stdc++.h>
      |  ^
a.cc:81:2: error: stray '#' in program
   81 | }#include <bits/stdc++.h>
      |  ^
a.cc:97:2: error: stray '#' in program
   97 | }#include <bits/stdc++.h>
      |  ^
a.cc:113:2: error: stray '#' in program
  113 | }#include <bits/stdc++.h>
      |  ^
a.cc:129:2: error: stray '#' in program
  129 | }#include <bits/stdc++.h>
      |  ^
a.cc:145:2: error: stray '#' in program
  145 | }#include <bits/stdc++.h>
      |  ^
a.cc:161:2: error: stray '#' in program
  161 | }#include <bits/stdc++.h>
      |  ^
a.cc:177:2: error: stray '#' in program
  177 | }#include <bits/stdc++.h>
      |  ^
a.cc:193:2: error: stray '#' in program
  193 | }#include <bits/stdc++.h>
      |  ^
a.cc:209:2: error: stray '#' in program
  209 | }#include <bits/stdc++.h>
      |  ^
a.cc:225:2: error: stray '#' in program
  225 | }#include <bits/stdc++.h>
      |  ^
a.cc:241:2: error: stray '#' in program
  241 | }#include <bits/stdc++.h>
      |  ^
a.cc:257:2: error: stray '#' in program
  257 | }#include <bits/stdc++.h>
      |  ^
a.cc:273:2: error: stray '#' in program
  273 | }#include <bits/stdc++.h>
      |  ^
a.cc:289:2: error: stray '#' in program
  289 | }#include <bits/stdc++.h>
      |  ^
a.cc:305:2: error: stray '#' in program
  305 | }#include <bits/stdc++.h>
      |  ^
a.cc:321:2: error: stray '#' in program
  321 | }#include <bits/stdc++.h>
      |  ^
a.cc:337:2: error: stray '#' in program
  337 | }#include <bits/stdc++.h>
      |  ^
a.cc:353:2: error: stray '#' in program
  353 | }#include <bits/stdc++.h>
      |  ^
a.cc:369:2: error: stray '#' in program
  369 | }#include <bits/stdc++.h>
      |  ^
a.cc:385:2: error: stray '#' in program
  385 | }#include <bits/stdc++.h>
      |  ^
a.cc:401:2: error: stray '#' in program
  401 | }#include <bits/stdc++.h>
      |  ^
a.cc:417:2: error: stray '#' in program
  417 | }#include <bits/stdc++.h>
      |  ^
a.cc:433:2: error: stray '#' in program
  433 | }#include <bits/stdc++.h>
      |  ^
a.cc:449:2: error: stray '#' in program
  449 | }#include <bits/stdc++.h>
      |  ^
a.cc:465:2: error: stray '#' in program
  465 | }#include <bits/stdc++.h>
      |  ^
a.cc:481:2: error: stray '#' in program
  481 | }#include <bits/stdc++.h>
      |  ^
a.cc:497:2: error: stray '#' in program
  497 | }#include <bits/stdc++.h>
      |  ^
a.cc:513:2: error: stray '#' in program
  513 | }#include <bits/stdc++.h>
      |  ^
a.cc:529:2: error: stray '#' in program
  529 | }#include <bits/stdc++.h>
      |  ^
a.cc:545:2: error: stray '#' in program
  545 | }#include <bits/stdc++.h>
      |  ^
a.cc:561:2: error: stray '#' in program
  561 | }#include <bits/stdc++.h>
      |  ^
a.cc:577:2: error: stray '#' in program
  577 | }#include <bits/stdc++.h>
      |  ^
a.cc:593:2: error: stray '#' in program
  593 | }#include <bits/stdc++.h>
      |  ^
a.cc:609:2: error: stray '#' in program
  609 | }#include <bits/stdc++.h>
      |  ^
a.cc:625:2: error: stray '#' in program
  625 | }#include <bits/stdc++.h>
      |  ^
a.cc:641:2: error: stray '#' in program
  641 | }#include <bits/stdc++.h>
      |  ^
a.cc:657:2: error: stray '#' in program
  657 | }#include <bits/stdc++.h>
      |  ^
a.cc:673:2: error: stray '#' in program
  673 | }#include <bits/stdc++.h>
      |  ^
a.cc:689:2: error: stray '#' in program
  689 | }#include <bits/stdc++.h>
      |  ^
a.cc:705:2: error: stray '#' in program
  705 | }#include <bits/stdc++.h>
      |  ^
a.cc:721:2: error: stray '#' in program
  721 | }#include <bits/stdc++.h>
      |  ^
a.cc:737:2: error: stray '#' in program
  737 | }#include <bits/stdc++.h>
      |  ^
a.cc:753:2: error: stray '#' in program
  753 | }#include <bits/stdc++.h>
      |  ^
a.cc:769:2: error: stray '#' in program
  769 | }#include <bits/stdc++.h>
      |  ^
a.cc:785:2: error: stray '#' in program
  785 | }#include <bits/stdc++.h>
      |  ^
a.cc:801:2: error: stray '#' in program
  801 | }#include <bits/stdc++.h>
      |  ^
a.cc:817:2: error: stray '#' in program
  817 | }#include <bits/stdc++.h>
      |  ^
a.cc:833:2: error: stray '#' in program
  833 | }#include <bits/stdc++.h>
      |  ^
a.cc:849:2: error: stray '#' in program
  849 | }#include <bits/stdc++.h>
      |  ^
a.cc:865:2: error: stray '#' in program
  865 | }#include <bits/stdc++.h>
      |  ^
a.cc:881:2: error: stray '#' in program
  881 | }#include <bits/stdc++.h>
      |  ^
a.cc:897:2: error: stray '#' in program
  897 | }#include <bits/stdc++.h>
      |  ^
a.cc:913:2: error: stray '#' in program
  913 | }#include <bits/stdc++.h>
      |  ^
a.cc:929:2: error: stray '#' in program
  929 | }#include <bits/stdc++.h>
      |  ^
a.cc:945:2: error: stray '#' in program
  945 | }#include <bits/stdc++.h>
      |  ^
a.cc:961:2: error: stray '#' in program
  961 | }#include <bits/stdc++.h>
      |  ^
a.cc:977:2: error: stray '#' in program
  977 | }#include <bits/stdc++.h>
      |  ^
a.cc:993:2: error: stray '#' in program
  993 | }#include <bits/stdc++.h>
      |  ^
a.cc:1009:2: error: stray '#' in program
 1009 | }#include <bits/stdc++.h>
      |  ^
a.cc:1025:2: error: stray '#' in program
 1025 | }#include <bits/stdc++.h>
      |  ^
a.cc:1041:2: error: stray '#' in program
 1041 | }#include <bits/stdc++.h>
      |  ^
a.cc:1057:2: error: stray '#' in program
 1057 | }#include <bits/stdc++.h>
      |  ^
a.cc:1073:2: error: stray '#' in program
 1073 | }#include <bits/stdc++.h>
      |  ^
a.cc:1089:2: error: stray '#' in program
 1089 | }#include <bits/stdc++.h>
      |  ^
a.cc:1105:2: error: stray '#' in program
 1105 | }#include <bits/stdc++.h>
      |  ^
a.cc:1121:2: error: stray '#' in program
 1121 | }#include <bits/stdc++.h>
      |  ^
a.cc:1137:2: error: stray '#' in program
 1137 | }#include <bits/stdc++.h>
      |  ^
a.cc:1153:2: error: stray '#' in program
 1153 | }#include <bits/stdc++.h>
      |  ^
a.cc:1169:2: error: stray '#' in program
 1169 | }#include <bits/stdc++.h>
      |  ^
a.cc:1185:2: error: stray '#' in program
 1185 | }#include <bits/stdc++.h>
      |  ^
a.cc:1201:2: error: stray '#' in program
 1201 | }#include <bits/stdc++.h>
      |  ^
a.cc:1217:2: error: stray '#' in program
 1217 | }#include <bits/stdc++.h>
      |  ^
a.cc:1233:2: error: stray '#' in program
 1233 | }#include <bits/stdc++.h>
      |  ^
a.cc:1249:2: error: stray '#' in program
 1249 | }#include <bits/stdc++.h>
      |  ^
a.cc:1265:2: error: stray '#' in program
 1265 | }#include <bits/stdc++.h>
      |  ^
a.cc:1281:2: error: stray '#' in program
 1281 | }#include <bits/stdc++.h>
      |  ^
a.cc:1297:2: error: stray '#' in program
 1297 | }#include <bits/stdc++.h>
      |  ^
a.cc:1313:2: error: stray '#' in program
 1313 | }#include <bits/stdc++.h>
      |  ^
a.cc:1329:2: error: stray '#' in program
 1329 | }#include <bits/stdc++.h>
      |  ^
a.cc:17:3: error: 'include' does not name a type
   17 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:20:5: error: redefinition of 'int main()'
   20 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
a.cc:33:3: error: 'include' does not name a type
   33 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:36:5: error: redefinition of 'int main()'
   36 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
a.cc:49:3: error: 'include' does not name a type
   49 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:52:5: error: redefinition of 'int main()'
   52 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
a.cc:65:3: error: 'include' does not name a type
   65 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:68:5: error: redefinition of 'int main()'
   68 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
a.cc:81:3: error: 'include' does not name a type
   81 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:84:5: error: redefinition of 'int main()'
   84 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
a.cc:97:3: error: 'include' does not name a type
   97 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:100:5: error: redefinition of 'int main()'
  100 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
a.cc:113:3: error: 'include' does not name a type
  113 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:116:5: error: redefinition of 'int main()'
  116 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
a.cc:129:3: error: 'include' does not name a type
  129 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:132:5: error: redefinition of 'int main()'
  132 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
a.cc:145:3: error: 'include' does not name a type
  145 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:148:5: error: redefinition of 'int main()'
  148 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
a.cc:161:3: error: 'include' does not name a type
  161 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:164:5: error: redefinition of 'int main()'
  164 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
a.cc:177:3: error: 'include' does not name a type
  177 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:180:5: error: redefinition of 'int main()'
  180 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
a.cc:193:3: error: 'include' does not name a type
  193 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:196:5: