There is no town by the name of Montana in South Dakota. Montana and South Dakota are separate states in the USA. Each of them occupies a wide range of both latitude and longitude.
49th parallel
Latitude: 45°59′56″NLongitude: 112°31′27″W
Latitude: 44° 21′N to 49°N Longitue: 104° 2′W to 116° 3′W
The longitude of Montana ranges from about 104°W to 116°W.
Montana
Montana
Latitude: 46°35′44.9″NLongitude: 112°1′37.31″W
That point is on the Wyoming/Montana line, about 3.3 miles south-southeast of Ridge, Montana.
It is in the north of the USA. The longitude: N2345 S4563 latitude is : W1234 E4512
Montana
Eastern Montana, between Fallon and Glendive.