<?php
$anonHeight = 169; /* Рост анона */
/* Рост одноклассников анона */
'Антон' => 172,
'Семен' => 165,
'Лена' => 189,
'Иван' => 171,
'Петр' => 182,
'Сидор' => 176,
'Аня' => 180,
'Таня' => 179,
'Маня' => 171
);
$number = 0;
foreach ($classmates as $name => $height;) {
echo "Имя: {$name}, рост: {$height} см.\n";
}
foreach ($number = 0; $anonHeight<=$height; $number++)
echo "В классе {$number} человек выше анона\n";
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7CgokYW5vbkhlaWdodCA9IDE2OTsgLyog0KDQvtGB0YIg0LDQvdC+0L3QsCAqLwoKLyog0KDQvtGB0YIg0L7QtNC90L7QutC70LDRgdGB0L3QuNC60L7QsiDQsNC90L7QvdCwICovCiRjbGFzc21hdGVzID0gYXJyYXkoCgkn0JDQvdGC0L7QvScJPT4JMTcyLAoJJ9Ch0LXQvNC10L0nCT0+CTE2NSwKCSfQm9C10L3QsCcJPT4JMTg5LAoJJ9CY0LLQsNC9Jwk9PgkxNzEsCgkn0J/QtdGC0YAnCT0+CTE4MiwKCSfQodC40LTQvtGAJwk9PgkxNzYsCgkn0JDQvdGPJwkJPT4JMTgwLAoJJ9Ci0LDQvdGPJwk9PgkxNzksCgkn0JzQsNC90Y8nCT0+CTE3MQopOwoKJG51bWJlciA9IDA7IAoKCgpmb3JlYWNoICgkY2xhc3NtYXRlcyBhcyAkbmFtZSA9PiAkaGVpZ2h0OykgewogICAgZWNobyAi0JjQvNGPOiB7JG5hbWV9LCDRgNC+0YHRgjogeyRoZWlnaHR9INGB0LwuXG4iOwogCn0KZm9yZWFjaCAoJG51bWJlciA9IDA7ICRhbm9uSGVpZ2h0PD0kaGVpZ2h0OyAkbnVtYmVyKyspCmVjaG8gItCSINC60LvQsNGB0YHQtSB7JG51bWJlcn0g0YfQtdC70L7QstC10Log0LLRi9GI0LUg0LDQvdC+0L3QsFxuIjs=