Write SQL query to solve given problem: Which nation completed its external debt reporting in 1980 and had a Land under cereal production value of 3018500?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT T2.CountryCode FROM Indicators AS T1 INNER JOIN Country AS T2 ON T1.CountryCode = T2.CountryCode WHERE T1.IndicatorName LIKE 'Land under cereal production%' AND T1.Value = 3018500 AND T1.Year = 1980 AND T2.ExternalDebtReportingStatus = 'Actual'