-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapril.txt
357 lines (285 loc) · 12.5 KB
/
april.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
Total Money Spent = 23585.5
### DETAILS ###
-- Vishal should pay --
-- Anil --
40 for "18/04/2009, A, dinner, 120, SK, A, V"
33 for "25/04/09, A, lunch_prince, 98, A, SK, V"
30 for "18/04/2009, A, dinner_chicken, 60, A, V"
25 for "25/04/09, A, dk_prince_dinner, 100, A, M, SK, V"
10 for "22/04/2009, A, dal, 30, A, V, SK"
10 for "20/04/2009, A, dal, 30, A, V, SK"
8 for "18/04/2009, A, lunch, 25, SK, A, V"
--------------------
Total = 156
--------------------
-- Srikanth --
54 for "05/04/2009, SK, dk_lunch, 163, M, SK, V"
37 for "26/04/2009, SK, dinner, 74, SK, V"
33 for "18/04/2009, SK, lunch, 100, SK, A, V"
25 for "05/04/2009, SK, mastani, 75, M, V, SK"
24 for "25/04/09, SK, mastani, 95, A, M, SK, V"
23 for "13/04/2009, SK, mastani, 68, M, V, SK"
22 for "05/04/2009, SK, mastani_dinner, 66, M, V, SK"
12 for "26/04/2009, SK, sugarcane, 24, SK, V"
10 for "26/04/2009, SK, veg, 29, SK, V, M"
9 for "18/04/2009, SK, tea, 26, SK, A, V"
8 for "14/04/2009, SK, veg, 32, M, V, SK, A"
8 for "26/04/2009, SK, rice, 32, SK, V, A, M"
8 for "25/04/09, SK, dk_prince_dinner, 30, A, M, SK, V"
7 for "05/04/2009, SK, sugarcane_juice, 14, V, SK"
6 for "26/04/2009, SK, eggs, 18, SK, V, M"
6 for "26/04/2009, SK, milk, 11, SK, V"
3 for "26/04/2009, SK, jeera, 12, SK, V, A, M"
--------------------
Total = 293
--------------------
-- Manoj --
2650 for "X, M, may_house_rent, 13250"
100 for "X, M, internet_bill, 200, M, V"
96 for "X, M, electricity_bill, 480"
26 for "14/04/2009, M, fish, 78, M, V, A"
25 for "15/04/2009, M, idlicious_curdrice, 100, M, V, A, S"
25 for "X, M, mastani, 50, M, V"
20 for "05/04/2009, M, idlicious_breakfast, 40, M, V"
13 for "X, M, sugarcane_juice, 26, M, V"
11 for "15/04/2009, M, milk, 22, M, V"
11 for "16/04/2009, M, chapati, 44, M, V, A, SK"
11 for "02/04/09, M, chapati, 32, M, A, V"
11 for "29/04/2009, M, veg, 32, M, SK, V"
11 for "28/04/2009, M, chapati, 32, M, SK, V"
10 for "08/04/2009, M, chapati, 40, M, SK, A, V"
10 for "21/04/2009, M, chapati, 40, M, V, SK, A"
9 for "18/04/2009, M, sugar, 36, SK, A, V, M"
9 for "21/04/2009, M, dal, 35, M, V, SK, A"
9 for "06/04/2009, M, dal, 35, M, SK, A, V"
8 for "08/04/2009, M, rice, 32, M, SK, A, V"
5 for "16/04/2009, M, sugarcane_juice, 21, M, V, A, SK"
5 for "06/04/2009, M, eggs, 18, M, SK, A, V"
5 for "16/04/2009, M, eggs, 18, M, V, A, SK"
4 for "01/04/09, M, veg, 14, M, V, A, SK"
3 for "08/04/2009, M, veg, 10, M, V, A, SK"
1 for "06/04/2009, M, veg, 5, M, SK, A, V"
--------------------
Total = 3085
--------------------
-- Anil should pay --
-- Vishal --
76 for "26/04/2009, V, maid_april, 380"
18 for "25/04/09, V, paper_bill, 90"
13 for "25/04/09, V, dk_prince_dinner, 50, A, M, SK, V"
11 for "20/04/2009, V, chapati, 32, A, V, SK"
10 for "14/04/2009, V, chapati, 40, M, V, SK, A"
10 for "20/04/2009, V, rice, 38, A, V, SK, M"
9 for "23/04/2009, V, chapati, 36, A, V, SK, M"
7 for "25/04/09, V, water_bottle, 22, A, SK, V"
7 for "18/04/2009, V, phenyl, 35"
5 for "23/04/2009, V, veg, 20, A, V, SK, M"
5 for "21/04/2009, V, eggs, 18, A, V, SK, M"
4 for "18/04/2009, V, bathroom_scrubber, 20"
3 for "16/04/2009, V, matki, 13, M, V, A, SK"
--------------------
Total = 177
--------------------
-- Srikanth --
33 for "18/04/2009, SK, lunch, 100, SK, A, V"
24 for "25/04/09, SK, mastani, 95, A, M, SK, V"
9 for "18/04/2009, SK, tea, 26, SK, A, V"
8 for "26/04/2009, SK, rice, 32, SK, V, A, M"
8 for "14/04/2009, SK, veg, 32, M, V, SK, A"
8 for "25/04/09, SK, dk_prince_dinner, 30, A, M, SK, V"
3 for "26/04/2009, SK, jeera, 12, SK, V, A, M"
--------------------
Total = 92
--------------------
-- Manoj --
2650 for "X, M, may_house_rent, 13250"
1232 for "X, M, anil_march_remaining, 2464, M, A"
100 for "X, M, internet_bill, 200, M, A"
96 for "X, M, electricity_bill, 480"
26 for "14/04/2009, M, fish, 78, M, V, A"
25 for "15/04/2009, M, idlicious_curdrice, 100, M, V, A, S"
12 for "17/04/2009, M, chapati, 36, M, A, SK"
11 for "16/04/2009, M, chapati, 44, M, V, A, SK"
11 for "02/04/09, M, chapati, 32, M, A, V"
10 for "21/04/2009, M, chapati, 40, M, V, SK, A"
10 for "08/04/2009, M, chapati, 40, M, SK, A, V"
9 for "06/04/2009, M, chapati, 28, M, SK, A"
9 for "18/04/2009, M, sugar, 36, SK, A, V, M"
9 for "21/04/2009, M, dal, 35, M, V, SK, A"
9 for "06/04/2009, M, dal, 35, M, SK, A, V"
8 for "01/04/09, M, chapati, 16, M, A"
8 for "08/04/2009, M, rice, 32, M, SK, A, V"
5 for "16/04/2009, M, sugarcane_juice, 21, M, V, A, SK"
5 for "06/04/2009, M, eggs, 18, M, SK, A, V"
5 for "16/04/2009, M, eggs, 18, M, V, A, SK"
4 for "01/04/09, M, veg, 14, M, V, A, SK"
3 for "08/04/2009, M, veg, 10, M, V, A, SK"
1 for "06/04/2009, M, veg, 5, M, SK, A, V"
--------------------
Total = 4256
--------------------
-- Srikanth should pay --
-- Vishal --
76 for "26/04/2009, V, maid_april, 380"
48 for "18/04/2009, V, idlicious, 96, V, SK"
35 for "18/04/2009, V, noodles_milk, 69.5, V, SK"
24 for "29/04/2009, V, chapati_dal, 71, M, SK, V"
18 for "25/04/09, V, paper_bill, 90"
13 for "25/04/09, V, dk_prince_dinner, 50, A, M, SK, V"
11 for "29/04/2009, V, milk, 22, SK, V"
11 for "25/04/09, V, milk, 22, SK, V"
11 for "21/04/2009, V, milk, 22, V, SK"
11 for "13/04/2009, V, chapati, 32, M, V, SK"
11 for "20/04/2009, V, chapati, 32, A, V, SK"
11 for "01/04/09, V, chapati, 32, V, SK, M"
10 for "14/04/2009, V, chapati, 40, M, V, SK, A"
10 for "20/04/2009, V, rice, 38, A, V, SK, M"
9 for "23/04/2009, V, chapati, 36, A, V, SK, M"
7 for "25/04/09, V, water_bottle, 22, A, SK, V"
7 for "18/04/2009, V, phenyl, 35"
6 for "13/04/2009, V, eggs, 18, M, V, SK"
6 for "28/04/2009, V, eggs, 18, M, SK, V"
5 for "23/04/2009, V, veg, 20, A, V, SK, M"
5 for "21/04/2009, V, eggs, 18, A, V, SK, M"
4 for "18/04/2009, V, bathroom_scrubber, 20"
3 for "16/04/2009, V, matki, 13, M, V, A, SK"
--------------------
Total = 350
--------------------
-- Anil --
40 for "18/04/2009, A, dinner, 120, SK, A, V"
33 for "25/04/09, A, lunch_prince, 98, A, SK, V"
25 for "25/04/09, A, dk_prince_dinner, 100, A, M, SK, V"
10 for "22/04/2009, A, dal, 30, A, V, SK"
10 for "20/04/2009, A, dal, 30, A, V, SK"
8 for "18/04/2009, A, lunch, 25, SK, A, V"
3 for "17/04/2009, A, veg, 8, M, A, SK"
--------------------
Total = 129
--------------------
-- Manoj --
2650 for "X, M, may_house_rent, 13250"
200 for "X, M, internet_bill, 400, M, SK"
96 for "X, M, electricity_bill, 480"
15 for "18/04/2009, M, nimbooz, 30, SK, M"
12 for "17/04/2009, M, chapati, 36, M, A, SK"
11 for "16/04/2009, M, chapati, 44, M, V, A, SK"
11 for "28/04/2009, M, chapati, 32, M, SK, V"
11 for "29/04/2009, M, veg, 32, M, SK, V"
10 for "21/04/2009, M, chapati, 40, M, V, SK, A"
10 for "08/04/2009, M, chapati, 40, M, SK, A, V"
9 for "06/04/2009, M, chapati, 28, M, SK, A"
9 for "18/04/2009, M, sugar, 36, SK, A, V, M"
9 for "21/04/2009, M, dal, 35, M, V, SK, A"
9 for "06/04/2009, M, dal, 35, M, SK, A, V"
8 for "08/04/2009, M, rice, 32, M, SK, A, V"
5 for "16/04/2009, M, sugarcane_juice, 21, M, V, A, SK"
5 for "16/04/2009, M, eggs, 18, M, V, A, SK"
5 for "06/04/2009, M, eggs, 18, M, SK, A, V"
4 for "01/04/09, M, veg, 14, M, V, A, SK"
3 for "08/04/2009, M, veg, 10, M, V, A, SK"
1 for "06/04/2009, M, veg, 5, M, SK, A, V"
--------------------
Total = 3091
--------------------
-- Manoj should pay --
-- Vishal --
1100 for "29/04/2009, V, borrow, 2200, M, V"
76 for "26/04/2009, V, maid_april, 380"
63 for "18/04/2009, V, idlicious, 126, V, M"
24 for "29/04/2009, V, chapati_dal, 71, M, SK, V"
18 for "25/04/09, V, paper_bill, 90"
13 for "25/04/09, V, dk_prince_dinner, 50, A, M, SK, V"
11 for "13/04/2009, V, chapati, 32, M, V, SK"
11 for "01/04/09, V, chapati, 32, V, SK, M"
10 for "14/04/2009, V, chapati, 40, M, V, SK, A"
10 for "20/04/2009, V, rice, 38, A, V, SK, M"
9 for "23/04/2009, V, chapati, 36, A, V, SK, M"
7 for "18/04/2009, V, phenyl, 35"
6 for "13/04/2009, V, eggs, 18, M, V, SK"
6 for "28/04/2009, V, eggs, 18, M, SK, V"
5 for "23/04/2009, V, veg, 20, A, V, SK, M"
5 for "21/04/2009, V, eggs, 18, A, V, SK, M"
4 for "06/04/2009, V, chapati, 8, M, V"
4 for "18/04/2009, V, bathroom_scrubber, 20"
3 for "16/04/2009, V, matki, 13, M, V, A, SK"
--------------------
Total = 1383
--------------------
-- Anil --
57 for "17/04/2009, A, fish, 113, M, A"
30 for "02/04/09, A, chicken, 60, M, A"
25 for "25/04/09, A, dk_prince_dinner, 100, A, M, SK, V"
3 for "17/04/2009, A, veg, 8, M, A, SK"
--------------------
Total = 114
--------------------
-- Srikanth --
200 for "29/04/2009, SK, borrow, 400, M, SK"
54 for "05/04/2009, SK, dk_lunch, 163, M, SK, V"
25 for "18/04/2009, SK, mastani, 50, SK, M"
25 for "05/04/2009, SK, mastani, 75, M, V, SK"
24 for "25/04/09, SK, mastani, 95, A, M, SK, V"
23 for "13/04/2009, SK, mastani, 68, M, V, SK"
22 for "05/04/2009, SK, mastani_dinner, 66, M, V, SK"
14 for "05/04/2009, SK, sugarcane_juice, 28, M, SK"
10 for "26/04/2009, SK, veg, 29, SK, V, M"
8 for "26/04/2009, SK, rice, 32, SK, V, A, M"
8 for "14/04/2009, SK, veg, 32, M, V, SK, A"
8 for "25/04/09, SK, dk_prince_dinner, 30, A, M, SK, V"
6 for "26/04/2009, SK, eggs, 18, SK, V, M"
3 for "26/04/2009, SK, jeera, 12, SK, V, A, M"
--------------------
Total = 429
--------------------
-- Sanjay should pay --
-- Vishal --
76 for "26/04/2009, V, maid_april, 380"
18 for "25/04/09, V, paper_bill, 90"
7 for "18/04/2009, V, phenyl, 35"
4 for "18/04/2009, V, bathroom_scrubber, 20"
--------------------
Total = 105
--------------------
-- Manoj --
2650 for "X, M, may_house_rent, 13250"
100 for "X, M, internet_bill, 200, M, S"
96 for "X, M, electricity_bill, 480"
25 for "15/04/2009, M, idlicious_curdrice, 100, M, V, A, S"
--------------------
Total = 2871
--------------------
## SUMMARY ##
Vishal has already spent 3530.5
Vishal should pay ...
1702 to Manoj
------------------------------
total = 1702
------------------------------
Anil has already spent 644.0
Anil should pay ...
21 to Vishal
4142 to Manoj
------------------------------
total = 4163
------------------------------
Srikanth has already spent 1347.0
Srikanth should pay ...
36 to Anil
2662 to Manoj
56 to Vishal
------------------------------
total = 2754
------------------------------
Manoj has already spent 18064.0
Manoj need not pay anybody
Sanjay has already spent 0.0
Sanjay should pay ...
2871 to Manoj
105 to Vishal
------------------------------
total = 2976
------------------------------
Vishal should receive 181.833333333333
Anil should receive 36.4166666666667
Manoj should receive 11376.8333333333