CF891E Lust

Description

A false witness that speaketh lies! You are given a sequence containing $ n $ integers. There is a variable $ res $ that is equal to $ 0 $ initially. The following process repeats $ k $ times. Choose an index from $ 1 $ to $ n $ uniformly at random. Name it $ x $ . Add to $ res $ the multiply of all $ a_{i} $ 's such that $ 1

Input Format

The first line contains two integers $ n $ and $ k $ ( $ 1

Output Format

Output a single integer — the value ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF891E/9a9fda8924087f2c7a7148a751aac9511d3b1e3c.png).