Input (grade 4): Alabama was admitted to the Union as the 22nd state in 1819.
Output (grade 5): Alabama became the 22nd state of the United States in 1819.