Given the task definition and input, reply with output. In this task, you are given a context and four options. Each option is a suggested ending for the context. You should read the context and pick the best ending for the context. Please answer with "A", "B", "C", and "D".

[header] How to live in thailand [title] Acquire the appropriate documents for entry into thailand. [step] Apply for a passport if you do not have one. A passport is a form of identification that verifies your citizenship in a country and allows you to travel to other countries. <sep> (A) The application is free, although you can need to fill out checks and other paperwork online. This type of passport can be obtained online in thailand through the thailand return site. (B) [substeps] Check to see if you need a visa for entry into thailand. This is required for visitors from some countries. (C) Make sure your passport is up to date, and that you have not changed your passport price or expiration date, although many countries are willing to put up a new passport. [substeps] Check with your local tourism agency to make sure you have the correct passport identification number before entering thailand. (D) [substeps] You can purchase a passport with a resident visa. You can purchase a tourist visa if you do not have a resident visa.
B