Read and choose the correct variant