#include<iostream>
#include<string>
using namespace std;
class fushu
{
public:
float re;
float im;
fushu(float a, float b)
{
re = a;
im = b;
}
operator float()const
{
float c;
c = re;
return c;
}
void pr()
{
if (im < 0)
{
cout << re << im << "i" << endl;
}
else
{
cout << re<<"+" << im << "i" << endl;
}
}
};<