#include <iostream>
using namespace std;

class Foo {
		
	public:
		static int count; 
		Foo() {
		
		}
		
		Foo(int i) {
			std::cout << "I am object no: " << count << std::endl;
			count++; 	
		}
		
	
};	

int Foo::count = 0; 

int main() {
	// your code goes here
	std::size_t number; 
	std::cout << "Enter the number of accounts you want to create: ";
	//std::cin >> number; 
	
	Foo* f[number];
	
	for(unsigned i=0; (i < 10); i++)
	{
		f[i] = new Foo(i);
	}
	return 0;
}