def nato(phonetic_dict, in_str):
    """
	This function can be used to convert a sentence into its NATO equivalent
	The sentence can contain alphanumeric characters or symbols, but the output will ignore the symbols
	except the space which is used for sparsing

	Returns -- A response string which spells the sentence and a list which consists of translations of
	each word
	"""
    in_str = in_str.upper()
    words = in_str.split()
    out_str = ''
    out_list = []
    for word in words:
        word_list = []
        for ch in word:
            if ch.isnumeric() or ch.isalpha():
                if out_str == '':
                    out_str += phonetic_dict[ch]
                else:
                    out_str += ' ' + phonetic_dict[ch]
                word_list.append(phonetic_dict[ch])
        out_list.append(word_list)
    return out_str, out_list
