import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.HashMap; import java.util.NoSuchElementException; import java.util.PriorityQueue; class Main { public static void main(String[] args) { new Main().run(); } final long MOD = (long) 1e9 + 7; long[] fac = new long[300000]; long[] ifac = new long[fac.length]; long[] inv = new long[fac.length]; { fac[0] = fac[1] = inv[0] = inv[1] = ifac[0] = ifac[1] = 1; for (int i = 2; i < fac.length; ++i) { fac[i] = i * fac[i - 1] % MOD; } for (int i = 2; i < inv.length; ++i) { inv[i] = MOD - (MOD / i) * inv[(int) MOD % i] % MOD; } for (int i = 2; i < ifac.length; ++i) { ifac[i] = inv[i] * ifac[i - 1] % MOD; } } long[] p = new long[100001]; long[] q = new long[100001]; void run() { Scanner sc = new Scanner(); int N = sc.nextInt(); int M = sc.nextInt(); int P = sc.nextInt(); long[] V = new long[N]; long[] sum = new long[N]; for (int i = 0; i < N; ++i) { V[i] = sc.nextLong(); } Arrays.sort(V); for (int i = 0; i < N; ++i) { sum[i] = (i > 0 ? sum[i - 1] : 0) + V[N - 1 - i]; sum[i] %= MOD; } p[0] = 1; q[0] = 1; for (int i = 1; i < p.length; ++i) { p[i] = p[i - 1] * (100 - P) % MOD * inv(100) % MOD; q[i] = q[i - 1] * P % MOD * inv(100) % MOD; } long ans = 0; // 成功回数N回 // 失敗回数 for (int i = 0; i < M; ++i) { ans += sum[N - 1] * c(N - 1 + i, i) % MOD * p[N] % MOD * q[i] % MOD; ans %= MOD; } // 成功回数 for (int i = 1; i < N; ++i) { ans += sum[i - 1] * c(i + M - 1, i) % MOD * p[i] % MOD * q[M] % MOD; ans %= MOD; } System.out.println(ans); } long c(int n, int k) { return fac[n] * ifac[n - k] % MOD * ifac[k] % MOD; } long inv(long a) { return pow(a, MOD - 2); } long pow(long a, long n) { long ret = 1; for (; n > 0; n >>= 1, a = a * a % MOD) { if (n % 2 == 1) { ret = ret * a % MOD; } } return ret; } void tr(Object... o) { System.out.println(Arrays.deepToString(o)); } } class Scanner { private final InputStream in = System.in; private final byte[] buffer = new byte[1024]; private int ptr = 0; private int buflen = 0; private boolean hasNextByte() { if (ptr < buflen) { return true; } else { ptr = 0; try { buflen = in.read(buffer); } catch (IOException e) { e.printStackTrace(); } if (buflen <= 0) { return false; } } return true; } private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1; } private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126; } private void skipUnprintable() { while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; } public boolean hasNext() { skipUnprintable(); return hasNextByte(); } public String next() { if (!hasNext()) throw new NoSuchElementException(); StringBuilder sb = new StringBuilder(); int b = readByte(); while (isPrintableChar(b)) { sb.appendCodePoint(b); b = readByte(); } return sb.toString(); } public long nextLong() { if (!hasNext()) throw new NoSuchElementException(); long n = 0; boolean minus = false; int b = readByte(); if (b == '-') { minus = true; b = readByte(); } if (b < '0' || '9' < b) { throw new NumberFormatException(); } while (true) { if ('0' <= b && b <= '9') { n *= 10; n += b - '0'; } else if (b == -1 || !isPrintableChar(b)) { return minus ? -n : n; } else { throw new NumberFormatException(); } b = readByte(); } } public int nextInt() { return (int) nextLong(); } }