What am I doing wrong here? I'm trying to make a vector from struct in main but it keep showing error.

```
#include <iostream>
#include <vector>

using namespace std;

struct A{
    int y;
};

int main()
{
    int x;
    cin >> x;
    vector<A> vertex;
    for(int i = 0; i < x; i++){
        vertex.push_back(x)
        cout << vertex[i]<<endl;
    }

    return 0;
}

```