#include<bits/stdc++.h>
#define ll long long int
#define endl "\n"
using namespace std;

int main()
{   
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    ll test;
    
        ll i, j, k, n, temp, count = 0, ans = 0, sum = 0;
        cin >> n;
        ll a[n], b[n];
        
        for(i = 0; i < n; i++)
        {
            cin >> a[i];
        }
        for(i = 0; i < n; i++)
        {
            cin >> b[i];
            ans += a[i] * b[i];
        }

        if(ans == 0)
        {
            cout << "Yes" << endl;
        }
        else  
        {
            cout << "No" << endl;
        }
    

return 0;
}
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
int main()
{
    ll n;
    cin>>n;
    vector<ll> arr(n+1);
    ll m=0, c=-1;
    double e=0;
    for(ll i=0;i<=n;i++)
    {
        cin>>arr[i];
        m+=abs(arr[i]);
        e+=(arr[i]*arr[i]);
        c=max(c, abs(arr[i]));
    }
    
    e=sqrt(e);
    cout<<m<<endl;
    cout<<setprecision(10)<<e<<endl;
    cout<<c<<endl;
    
    
}