#include <iostream>
using namespace std;
int main() {
int N,i ;
cout << "請問總共有多少人?" << endl;
cin >> N ;
int diamond[N] ;
cout << "請依序輸入每個人離開時的鑽石顏色" << endl;
cout << "說明:b代表藍色;g代表綠色" << endl;
for( i=0 ; i < N ; i++ )
cin >> diamond[i];
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAgIAogICBpbnQgTixpIDsKICAgCiAgIGNvdXQgPDwgIuiri+WVj+e4veWFseacieWkmuWwkeS6uu+8nyIgICAgICAgICAgICAgICAgPDwgZW5kbDsKICAgY2luICA+PiAgTiAgOwogICBpbnQgZGlhbW9uZFtOXSA7CiAgIAogICBjb3V0IDw8ICLoq4vkvp3luo/ovLjlhaXmr4/lgIvkurrpm6LplovmmYLnmoTpkb3nn7PpoY/oibIiICA8PCBlbmRsOwogICBjb3V0IDw8ICLoqqrmmI7vvJpi5Luj6KGo6JeN6Imy77ybZ+S7o+ihqOe2oOiJsiIgICAgICAgIDw8IGVuZGw7CiAgIGZvciggaT0wIDsgaSA8IE4gOyBpKysgKQogICBjaW4gID4+ICBkaWFtb25kW2ldOwogICAKICAgCiAgIAogICAKICAgCglyZXR1cm4gMDsKfQ==