Table:
begin	end	state
1	5	non-cytoplasmic
6	30	transmembrane
31	47	cytoplasmic
48	70	transmembrane
71	75	non-cytoplasmic
76	95	transmembrane
96	114	cytoplasmic
115	137	transmembrane
138	142	non-cytoplasmic
143	164	transmembrane
165	184	cytoplasmic
185	206	transmembrane
207	219	non-cytoplasmic

Input:
>351798
MDSTLLPFALLCFTSFFTLTNPLGTMPVFLTMTHGMTDKERQTIVRRATIVSFITLMVFV
FAGQFLFKFFGISTNGFRIAGGVIIFKIGFDMLQARYTPMKLKDEEIKTYADDISITPLG
IPMLCGPGAIANAIVLMQDSHTYAMKGILIGTIALIYLLTFFILRASTRLVKVLGETGNN
VMMRLMGLILMVIAVECFVSGAKPILADIVREGLSGICK

Or try the official Phobius web server, which has a different display

Reference: Advantages of combined transmembrane topology and signal peptide prediction - the Phobius web server