#include using namespace std; int main(){ int N; scanf("%d",&N); long temp; bool zero_flag = true; int ans = 1; for(int i=0;i