随便构造一下
#include<cstdio> int main(){ freopen("2296.in","r",stdin); freopen("2296.out","w",stdout); long long a; int t; scanf("%d",&t); while(t--){ scanf("%lld",&a); if(a==0){puts("-1");continue;} printf("%lld\n",1234567890ll*1000000ll+a-(1234567890ll*1000000ll)%a); } return 0; }