I first write

```
A <-replicate(
200,
sample(x=1:49,size=6,replace=FALSE)
)
```

View(A)

and it comes out a chart

then if three number in each group are the same with (33, 41,59,02,20,71),I get1000$

if four number ,I get 10000$

if five number ,I get 100000$

if six number,I get 1000000$

and I want to know how much I win when I check 200 lottery

so how can I write it to reach my goal?

thank you for giving me opinion!!!