Using Vechile Class
A little change in the order of the printed statements but it doesn't affect the result