method 1 Result is 1 2 3 4 5 After 1 2 3 4 5 method 2 $_ 1 $_ 2 $_ 3 $_ 4 $_ 5 method 3 $_ 1 $_ 2 $_ 3 $_ 4 $_ 5
$_ 1
$_ 2
$_ 3
$_ 4
$_ 5 method 3
$_ 5