class Dice {
public:
  int  total();
  int  pair();
  void roll();
  void read();
  void write();
private:
  int d1_, d2_; 
};
