TouchStone
  Please Login
Login Sign Up
 Homepage  Problem Set  Examinations  Submissions  Discussions  Statistics
  • Home
  • Problem Set
  • P4924
  • Problem
  • P4924Every one will meet some difficult
    Limits : Time Limit : - MS   Memory Limit : - KB
    Judgment Tips : 1s, 1G
    Description

    Input Format

    Output Format

    Sample Input

    6 2 3 4

    Sample Output

    12

    Hint