public static void main(String[] args) {
		// TODO Auto-generated method stub
		int num1, num2, num3, num4;
		
		num1 = 1;
		num2 = 2;
		num3 = 5;
		num4 = 8;
		
		
      System.out.println(num4 - (num1 + num2 + num3));
      System.out.println(num4 * num1 - (num2 +num3));
      System.out.println(num4 - (num2  + num3) + num1);
      System.out.println(num2 * num3 - num4 + num1);
      System.out.println();
	}