thank guys...i think my input & desired result have match...