#include<iostream>
// (1) include vector library
#include<vector>
using namespace std;

int main(){
	// (2) define vector  as integer
	
	vector <int> array1;
	
	//(3) vector_name.push_back(data) is used to push data
	array1.push_back(32);
	array1.push_back(12);
	
	//(4) leatest element is accessed using vector_name.back()
	cout <<"Leatest pushed element is :" <<array1.back()<<endl<<endl;
	
	
	//(5) you can know array size using vector_name.size();
	cout <<"The size of array is : "<<array1.size()<<endl<<endl;
	
	//(6) you can access element by it's position like array
	cout <<"Element at position '0' is :" <<array1[0]<<endl<<endl;

	

	
}