#include <iostream>
using namespace std;
int main() {
int n,m;
cin >> n >> m;
for(int i=0;i<m;i++){
for(int j=0;j<n;j++){
cout << ((i+j-5)%6== 0? "*":"+");
}
cout << endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgbixtOwoJY2luID4+IG4gPj4gbTsKCWZvcihpbnQgaT0wO2k8bTtpKyspewoJCWZvcihpbnQgaj0wO2o8bjtqKyspewoJCQljb3V0IDw8ICgoaStqLTUpJTY9PSAwPyAiKiI6IisiKTsKCQl9Cgljb3V0IDw8IGVuZGw7Cgl9CglyZXR1cm4gMDsKfQ==