Rakhiji, I experimented with above method mentioned by you and it works.
I was curious to get the method mentioned by @ShivaPrakkash .