Display the elements which has 5 on the right side(right most).
Input :{55,4,121,3333,65}
Output:{55,65}
2)display all the elements which has 2 digits in the first position and rest as it is.
Input:{122,3333,44,77777,9,13,5555}
Output:{44,13,122,3333,77777,9,5555}.
Please help me out. try to give answer in php.