#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; const double PI = 3.14159265358979323846; const double EPS = 1e-12; const int INF = 1<<25; typedef pair P; typedef long long ll; typedef unsigned long long ull; #define N 100000 ll d[N]; int main(){ int n; scanf("%d", &n); for(int i = 0; i < n; i++) scanf("%ld", d+i); int cnt = 0; for(int i = 0; i < 60; i++){ ll b = 1LL<