parents = gets.chomp.split(',')
     .map {|i| i.to_i}
        .map {|i| i - 1}

escalona los maps