On the beach, Andy and Matt arranged 30 rows of shells. Each row contained 30 shells. How many shells did Andy and Matt arrange?