﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _03.Exact_Product_of_Real_Numbers
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            decimal extractProduct = 1;
            for (int i = 0; i < n; i++)
            {
                extractProduct *= decimal.Parse(Console.ReadLine());
            }
          Console.WriteLine(extractProduct);     
        }
    }
}
