coins-on-table.cpp