Here are the results:
Your favourite meal:
potatoes:
$%a1;%
$a1;
pastes:
$%a2;%
$a2;
meat:
$%a3;%
$a3;
vegetables:
$%a4;%
$a4;
Total: $tot;