public void printAmount(int amount) {
		int count=0;
		for (Person p : person) {
			if (count++<amount) {
				System.out.print(p.getId() + ";");
				System.out.print(p.getName() + ";" + p.getSurname() + ";" +
						p.getBirth_day() + "-" + p.getBirth_month() + "-" + p.getBirth_year()
						); 
				System.out.print(";"+p.getPesel());
				System.out.print(";"+p.getSalary());
				for (NumberType type : NumberType.values())
					System.out.print(";" + p.getNumber(type));
				System.out.println("");
			}
			else
				break;
		}
	}