I have two unix files with numeric values only such as :

File 1 :  

12345  

23456  

234578

File 2 :  

 2387  

12345  

23456  

767888

I need to separate uncommon values from two files such as : 234578, 2387, 767888. And direct into one separate file using shell script. Please advise.