Write a program to calculate parking fees for a given car's barcode information. The barcode information consists of a car number plate, car type code, and duration of stay. The parking fees are determined by the type of car and the duration of stay.
1 <= number of cars <= 10,000 The car number plate can contain numbers or letters, and its length can vary from 2 to 10 The car type code is one of the following: S4, Sf, gS, ap, SW, 1 pst, NTS, Lil, HTBK, SD, CTS, DTS