Rakuten MA (Python version)