// Returns maximal element of array method max(a : array) returns (key : int) // contract { var i : nat := 0; }