print out intersection result