#include <iostream>
#include <fstream>
#include <string>
#include <iomanip>
using namespace std;
int main()
{
int value, even, odd;
ifstream infile;
infile.open("lab6_input.txt");
while (infile >> value)
{
cout << string(abs(value), "*$"[abs(value) % 2]) << endl;
value++;
}
infile.close();
return 0;
}
1
2
-1
-2
3