Can someone please help me with this program? : Write a program that reads four integers and prints "two pairs" if the input consists of two matching pairs (in some order) and "not two pairs" 

So far I have written:

public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		
		int n;
		int number1;
		int number2;
		int number3;
		int number4;
		
		System.out.println("Enter up to four numbers: ");
		n = s.nextInt();