thousand実装