<?php
echo "****ENTRADA****".PHP_EOL;
foreach($input as $key => $in){
for($i = 0; $i < sizeof($in); $i++){ $out[$key][$i] = $in[$i];
}
}
echo "****SAÍDA****".PHP_EOL;
PD9waHAKJGlucHV0ID0gYXJyYXkoJ0lOUFVUXzEnPT5hcnJheSg3NCw2OSwxODksMTU1KSwnSU5QVVRfMic9PmFycmF5KDQ1LDEsMTApKTsKZWNobyAiKioqKkVOVFJBREEqKioqIi5QSFBfRU9MOwpwcmludF9yKCRpbnB1dCk7Cgokb3V0ID0gYXJyYXkoKTsKCmZvcmVhY2goJGlucHV0IGFzICRrZXkgPT4gJGluKXsKCWZvcigkaSA9IDA7ICRpIDwgc2l6ZW9mKCRpbik7ICRpKyspewoJCSRvdXRbJGtleV1bJGldID0gJGluWyRpXTsKCX0KfQplY2hvICIqKioqU0HDjURBKioqKiIuUEhQX0VPTDsKcHJpbnRfcigkb3V0KTs=