<?php
$cb = 2;
$rb = 3;
$lb = 4;
$rwb = 5;
$lwb = 1;
$cdm = 8;
$cm = 3;
$rm = 4;
$lm = 5;
$cam = 5;
$cf = 6;
$rf = 7;
$lf = 8;
$rw = 12;
$lw = 10;
$st = 0;
$arr = array("cb","rb","lb","rwb","lwb","cdm","cm","rm","lm","cam","cf","rf","lf","rw","lw","st");
echo $maior."\n";
echo $chave;
PD9waHAKCiAkY2IgPSAyOwogICAgJHJiID0gMzsKICAgICRsYiA9IDQ7CiAgICAkcndiID0gNTsKICAgICRsd2IgPSAxOwogICAgJGNkbSA9IDg7CiAgICAkY20gPSAzOwogICAgJHJtID0gNDsKICAgICRsbSA9IDU7CiAgICAkY2FtID0gNTsKICAgICRjZiA9IDY7CiAgICAkcmYgPSA3OwogICAgJGxmID0gODsKICAgICRydyA9IDEyOwogICAgJGx3ID0gMTA7CiAgICAkc3QgPSAwOwoKICAgICRhcnIgPSBhcnJheSgiY2IiLCJyYiIsImxiIiwicndiIiwibHdiIiwiY2RtIiwiY20iLCJybSIsImxtIiwiY2FtIiwiY2YiLCJyZiIsImxmIiwicnciLCJsdyIsInN0Iik7CiAgICAkcmVzdWx0ID0gY29tcGFjdCgkYXJyKTsKICAgIHByaW50X3IoJHJlc3VsdCk7CgogICAgJG1haW9yID0obWF4KCRyZXN1bHQpKTsKICAgIGVjaG8gJG1haW9yLiJcbiI7CiAKICAgICRjaGF2ZSA9IGFycmF5X3NlYXJjaChtYXgoJHJlc3VsdCksICRyZXN1bHQpOwoKICAgIGVjaG8gJGNoYXZlOw==