Result:


Sample code