Code 1

Code 2

 

Code 3