Both 7 and 8 exhibit a cyclicity of 4 The last digits are 71=781=8 72=982=4 73=383=2 74=184=6 75=785=8 The cycle would repeat itself for higher powers 723 ends with the same last digit as 73 i.e.3. 813 ends with the same last digit as 81 i.e. 8.
Hence, the product of the two numbers would end with the same last digit as that of 3×8 i.e. 4.