#include using namespace std; int main(){ int t;cin>>t; for(int i=0;i>x>>y; double th = atan2(y, x); if (th >=0) mi = min(mi, th); } cout << mi * 180.0 / acos(-1) << endl; } }