You need to file a 1040X form along with a 1040NR. On the 1040X complete thetop section including items A and B. Do not complete lines 1 30 but docomplete Part II and III and sign the form. Then complete form 1040NR and atthe top write AS AMENDED. Sign the 1040NR. Finally get a copy of theoriginal 1040A that you filed and write at the top AS ORIGINALLY FILED.Send all of that to the IRS at the address in the form 1040X instructions.