function solution(str){
  return str.split('').reverse().join('');  
}