#include using ll = long long; constexpr ll MOD = 1000000007; ll power(const ll p, const ll n) { return n == 0 ? 1LL : n % 2 == 1 ? power(p, n - 1) * p % MOD : power(p * p % MOD, n / 2); } ll inverse(const ll p) { return power(p, MOD - 2); } int main() { int N, M; ll P; std::cin >> N >> M >> P; P = (100 - P) * inverse(100) % MOD; std::vector v(N); for (auto& e : v) { std::cin >> e; } std::sort(v.begin(), v.end(), std::greater{}); ll ans = 0; ll f = power(MOD + 1 - P, M), c = (MOD + 1 - f) % MOD; for (int i = 0; i < N; i++) { (ans += c * v[i] % MOD) %= MOD, (f *= (P * (M + i) % MOD) * inverse(i + 1) % MOD) %= MOD, (c += (MOD - f)) %= MOD; } std::cout << ans << std::endl; return 0; }