<?php
echo "Воровач рулетка\n";
$lastDigit = $random % 10;
echo "$lastDigit";
if ($lastDigit == 1) {
echo "-Петух";
} elseif ($lastDigit == 2) {
echo "-Блатной";
} elseif ($lastDigit == 3) {
echo "-Газонюх";
} elseif ($lastDigit == 4) {
echo "-Маня";
} elseif ($lastDigit == 5) {
echo "-Мужик";
} elseif ($lastDigit == 6) {
echo "-Революционер";
} elseif ($lastDigit == 7) {
echo "-Пистон";
} elseif ($lastDigit == 8) {
echo "-Бригадир";
} elseif ($lastDigit == 9) {
echo "-Мойдодыр";
} elseif ($lastDigit == 0) {
echo "-Крути ещё раз";
}
PD9waHAKCmVycm9yX3JlcG9ydGluZyAoLTEpOwoKZWNobyAi0JLQvtGA0L7QstCw0Ycg0YDRg9C70LXRgtC60LBcbiI7CgokcmFuZG9tID0gbXRfcmFuZCgxLDEwMDAwMCk7CgokbGFzdERpZ2l0ID0gJHJhbmRvbSAlIDEwOwoKZWNobyAiJGxhc3REaWdpdCI7CgppZiAoJGxhc3REaWdpdCA9PSAxKSB7CgllY2hvICIt0J/QtdGC0YPRhSI7Cn0gZWxzZWlmICgkbGFzdERpZ2l0ID09IDIpIHsKCWVjaG8gIi3QkdC70LDRgtC90L7QuSI7Cn0gZWxzZWlmICgkbGFzdERpZ2l0ID09IDMpIHsKCWVjaG8gIi3Qk9Cw0LfQvtC90Y7RhSI7Cn0gZWxzZWlmICgkbGFzdERpZ2l0ID09IDQpIHsKCWVjaG8gIi3QnNCw0L3RjyI7Cn0gZWxzZWlmICgkbGFzdERpZ2l0ID09IDUpIHsKCWVjaG8gIi3QnNGD0LbQuNC6IjsKfSBlbHNlaWYgKCRsYXN0RGlnaXQgPT0gNikgewoJZWNobyAiLdCg0LXQstC+0LvRjtGG0LjQvtC90LXRgCI7Cn0gZWxzZWlmICgkbGFzdERpZ2l0ID09IDcpIHsKCWVjaG8gIi3Qn9C40YHRgtC+0L0iOwp9IGVsc2VpZiAoJGxhc3REaWdpdCA9PSA4KSB7CgllY2hvICIt0JHRgNC40LPQsNC00LjRgCI7Cn0gZWxzZWlmICgkbGFzdERpZ2l0ID09IDkpIHsKCWVjaG8gIi3QnNC+0LnQtNC+0LTRi9GAIjsKfSBlbHNlaWYgKCRsYXN0RGlnaXQgPT0gMCkgewoJZWNobyAiLdCa0YDRg9GC0Lgg0LXRidGRINGA0LDQtyI7Cn0K