The smart dog knows how to distinguish mahjong