3. (10%) Suppose that a list \( L \) of 8 integers 12, 5, 13, 7, 9, 14, 4, 8 are given. Please design a computing method (or algorithm) that determines if an integer \( k \) exists in \( L \). Return the position of \( k \) if it is found in \( L \) and -1 otherwise. State your algorithm in pseudocode or C/C++/Java.