using System;
public class Program
{
public static void Main()
var total = GetAmount(40);
Console.WriteLine(total);
}
public static decimal GetAmount(int numVehicles){
decimal total = 40m;
if(numVehicles > 1){
total += (numVehicles -1) * 15;
return total > 475 ? 475 : total;