sedf

ykj48 流星雨 2024-06-02 18:45:08 12
#include<bits/stdc++.h>
using namespace std;

int main(){
	long long int n;
	cin>>n;
	long long int ans=0;
	for(int i=1;i<=n/2;i++)
	{
		if(n%i==0) ans+=i;
	}
	if(ans>n) cout<<"Abundant";
	else if(ans==n) cout<<"Perfect";
	else cout<<"Deficient";
    return 0;
}
{{ vote && vote.total.up }}