A Predetermined Algorithm for Detecting a Counterfeit Coin with Multi-Arms Balances