#include using namespace std; int main(){int n,r,m=1,c=1;std::cin>>n;std::vector a(n);for(auto &e:a){std::cin>>e;}r=a[1]-a[0];for(int i=0;i+1