function print_store(store $store, $title = '')
{
    echo '<div><h3>' . $title . ' Store</h3><hr/><b>--Info--</b><pre>';
    echo 'count of items:' . $store->getItemsCount() . PHP_EOL;
    echo 'total price:' . $store->getTotalPrice() . PHP_EOL;
    echo 'total weight:' . $store->getTotalWeight() . PHP_EOL;
    echo '</pre><b>--Items--</b><table border="1"><tbody><tr><th>Price</th><th>Weight</th><th>Value</th></tr>';
    foreach ($store->getAllItems() as $index => $item) {
        echo '<tr><td>' . $item->getPrice() . '</td><td>' . $item->getWeight() . '</td><td>' . $item->getValue() . '</td></tr>';
    }
    echo '</tbody></table></div>';
}