hi this is my first post over here i wish i can get help with this

well i got this problem in my homework and i cant find a way to solve it

well the problem is

find the last digit of 7^1000000 and 11^1000000

so if plz if anyone has idea about how to solve it that would be great

thx