Doubt in constraints

what does it mean ?
Print answer for every test case in a new line modulo 10^9+7.
in problem
https://hack.codingblocks.com/contests/c/547/1045

if your answer is ans.
then use
cout<<ans%1000000007<<endl;
as range of int is 10^9 so we use % so that it will not overflow than range